[Chicken-users] ANN: new eggs, pthreads and sqlite3pth

2016-01-16 Thread Jörg F . Wittenberger
Hi all,

two new eggs for the coop.

Beware: requires recent chicken from git master to run reliably.

pthreads: maintains a pool of pthreads

sqlite3pth: yet another sqlite3 driver.  Offloads sqlite queries to
pthreads.  Supports sqlite3 VFS to call back to chicken for blocks.

Documentation is currently only at github:
https://github.com/0-8-15/sqlite3pth

not very interesting, just a dependency for the former:
https://github.com/0-8-15/sqlite3pth

Release-infos:

https://raw.githubusercontent.com/0-8-15/pthreads/master/pthreads.release-info

https://raw.githubusercontent.com/0-8-15/sqlite3pth/master/sqlite3pth.release-info


Have fun

/Jörg

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] functor implementation of bindings egg

2016-01-16 Thread Juergen Lorenz
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

-- 

Dr. Juergen Lorenz
Flensburger Str. 12
10557 Berlin


signature.asc
Description: PGP signature
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] A question regarding "hidden" eggs

2016-01-16 Thread Jörg F . Wittenberger
Hi,

I feel the need to have some space to stash away temporary glue code.

Ideally the current version of it is always empty and not of interest to
anyone.  As documentation always lags behind, it is empty with high
probability.  However development is not ideal.

Not listing as in being marked as "(hidden)" in the meta file is
apparently what I want.

Q: Would creating an egg at https://github.com/0-8-15/9-3 and informing
@Mario be the way to go?

Thanks

/Jörg

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] functor implementation of bindings egg

2016-01-16 Thread Dan Leslie

Could you perhaps motivate with some sample code?

Thanks,
-Dan

Juergen Lorenz  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
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users