[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] functor implementation of bindings egg
From: |
Dan Leslie |
Subject: |
Re: [Chicken-users] functor implementation of bindings egg |
Date: |
Sat, 16 Jan 2016 10:56:20 -0800 |
User-agent: |
mu4e 0.9.13; emacs 24.5.1 |
Could you perhaps motivate with some sample code?
Thanks,
-Dan
Juergen Lorenz <address@hidden> writes:
> Hi all,
>
> the bindings egg is now implemented with a functor, so that you can
> replace the default dispatch table, which destructures mixed nested
> lists, vectors, strings and additional sequence types. For example,
> you might need lists only. In that case, you simply import list-bindings
> instead of bindings, circumventing dispatch alltogether.
>
> Note also, that I've changed the syntax of the where clause to be in
> sync with the procedural-macros egg: Fenders are now of the form
> (var ok? ...)
> so that one pattern variable, var, can be checked by zero or more
> predicates, ok? ...
>
> Cheers
> Juergen
signature.asc
Description: PGP signature