Re: Bug in my WIP-npm-importer with blacklist

2018-11-26 Thread Catonano
because I made so many typing mistakes, I corrected my text and I'm posting it again, corrected There are 2 observations I can give The first one is that "member" returns a boolean value (#t or #f) and your function can return just that, you don't need the if But even if you needed the if,

Re: Bug in my WIP-npm-importer with blacklist

2018-11-26 Thread Catonano
Il giorno dom 25 nov 2018 alle ore 14:21 swedebugia ha scritto: > Hi > > I am still a novice in guile so I humbly ask for help with this error > trying to get the blacklisting to work: > > sdb@komputilo ~$ ~/guix-tree/pre-inst-env guix import npm leaflet > ice-9/boot-9.scm:222:17: In procedure ma

Re: Bug in my WIP-npm-importer with blacklist

2018-11-25 Thread Gábor Boskovits
Hello, I had a look at that. You should not need the if there, just 'return' the test of the if. If has a form (if test conseqent alternate), alternate is optional and returns the value of the evaluated branch (consequent or alternate). This gives you a syntax error, as the mandatory consequent ex

Bug in my WIP-npm-importer with blacklist

2018-11-25 Thread swedebugia
Hi I am still a novice in guile so I humbly ask for help with this error trying to get the blacklisting to work: sdb@komputilo ~$ ~/guix-tree/pre-inst-env guix import npm leaflet ice-9/boot-9.scm:222:17: In procedure map1: Syntax error: /home/sdb/guix-tree/guix/import/npm.scm:304:2: source exp