Re: Guile Steel: a proposal for a systems lisp

2022-07-11 Thread Martin Becze
Have you seen loko scheme? https://scheme.fail/ It might be interesting and a source of inspiration. I had a peek at how it implemented some drives , looks straight forward enough. On 7/9/22 17:35, Christine Lemmer-Webber wrote: A

Re: srfi-89 implementation for guile

2020-08-10 Thread Martin Becze
On 8/10/20 4:26 PM, Linus Björnstam wrote: > Well done! Macros are great fun. I glanced through your source and could > follow it without much hickups. Thanks! It has been good learning experience. > You probably know this already, but you can actually do the sanitize-rest at > compile time

srfi-89 implementation for guile

2020-08-10 Thread Martin Becze
Hi Guilers, I implemented srfi-89 (Optional positional and named parameters) https://gitlab.com/mjbecze/guile-srfi-89/ It is hygienic and reuses guile's lambda* so there is minimal overhead. Cheers!, -Martin Becze signature.asc Description: OpenPGP digital signature

Re: Loading multiple versions of a Module

2020-05-03 Thread Martin Becze
:50 PM CDT, "Ludovic Courtès" wrote: >Hi Martin, > >Martin Becze skribis: > >> Guile currently doesn't allow loading multiple versions of a Module. For >> example this will not work. >> >> --- start.scm >> (import (a) (b (2))) >> (helloA)

Loading multiple versions of a Module

2020-05-01 Thread Martin Becze
Guile currently doesn't allow loading multiple versions of a Module. For example this will not work. --- start.scm (import (a) (b (2))) (helloA) (helloB) --- a/a.scm (library (a) (export helloA) (import (rnrs) (b (1))) (define helloA (lambda () (display "hello from A1\n")