Re: Some utility functions

2019-01-08 Thread Ludovic Courtès
Hi, Gábor Boskovits skribis: > Ludovic Courtès ezt írta (időpont: 2019. jan. 5., Szo, 22:30): >> >> Hi Gábor, >> >> Gábor Boskovits skribis: >> >> > I am not sure if I am duplicating functionality here, and also where >> > these should belong, so I will send them here for discussion. >> >> Tha

Re: Some utility functions

2019-01-07 Thread Gábor Boskovits
Hello, Ludovic Courtès ezt írta (időpont: 2019. jan. 5., Szo, 22:30): > > Hi Gábor, > > Gábor Boskovits skribis: > > > I am not sure if I am duplicating functionality here, and also where > > these should belong, so I will send them here for discussion. > > Thanks for sharing! As Alex notes, so

Re: Some utility functions

2019-01-05 Thread Ludovic Courtès
Hi Gábor, Gábor Boskovits skribis: > I am not sure if I am duplicating functionality here, and also where > these should belong, so I will send them here for discussion. Thanks for sharing! As Alex notes, some of these procedures are more or less available in (guix build utils): > (define (rm

Re: Some utility functions

2019-01-01 Thread Alex Vong
Hello Gábor, Gábor Boskovits writes: > Hello guix, > > I am not sure if I am duplicating functionality here, and also where > these should belong, so I will send them here for discussion. > > Best regards, > g_bor > [...] > > (define (rm-recursive dir) > "Deletes the DIR directory recursively.

Some utility functions

2019-01-01 Thread Gábor Boskovits
Hello guix, I am not sure if I am duplicating functionality here, and also where these should belong, so I will send them here for discussion. Best regards, g_bor (define (file-size file) "Return the size of the regular file FILE in bytes." (stat:size (stat file))) (define (rm-recursive dir)