From: Moritz Heidkamp <[email protected]> Subject: Re: [Chicken-hackers] functors Date: Thu, 24 Mar 2011 12:12:50 +0100
> Maybe I didn't understand it all correctly but is there syntax for > folding that into one definition? E.g. something like this: > > (module number-squarer ((instantiates: squaring-functor)) > (import scheme) > (define (multiply x y) (* x y))) > One possible syntax would be: (module number-squarer = squaring-functor (import scheme) ...) cheers, felix _______________________________________________ Chicken-hackers mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-hackers
