Re: [Chicken-users] macro and module question from newbie.

2015-03-05 Thread Evan Hanson
Hi, You must indicate that `m` should be visible within the expansion of `bar`, using the following export format: (module foo ((bar m)) ...) Otherwise, everything looks fine. See the IDENTIFIER syntax under http://wiki.call-cc.org/man/4/Modules#module for more information. Cheers, Evan

[Chicken-users] macro and module question from newbie.

2015-03-05 Thread Park SungMin
hello, I'm chicken/scheme newbie. I'm long time use CommonLisp. but I feel difference with scheme. I writing first test program. but (module foo (bar) (import chicken scheme) (define m 10) (define-syntax bar (ir-macro-transformer (lambda (expr a b) `(+ m

Re: [Chicken-users] Updating the zmq egg

2015-03-05 Thread Dan Leslie
I'd stick with zmq, particularly considering that you've already begun updating the egg. It also looks like it has a greater amount of community and developer support. -Dan Matt Gushee m...@gushee.net writes: On Thu, Mar 5, 2015 at 6:18 PM, Dan Leslie d...@ironoxide.ca wrote: You might

[Chicken-users] Updating the zmq egg

2015-03-05 Thread Matt Gushee
Hello, folks-- I am developing a distributed application for which I would like to use ZeroMQ. I've discovered, however, that the zmq egg is unmaintained and very out of date (the egg is compatible with libzmq 2.x, while the current stable version of the C library is 4.05). The good news is that

Re: [Chicken-users] Updating the zmq egg

2015-03-05 Thread Matt Gushee
Hi, Evan-- On Thu, Mar 5, 2015 at 6:13 PM, Evan Hanson ev...@foldling.org wrote: Does a size_t argument require any special handling on the Chicken side? Or can I just treat it as a regular integer? A regular size_t, even: http://api.call-cc.org/doc/foreign/types/size_t Thanks, but I

Re: [Chicken-users] Updating the zmq egg

2015-03-05 Thread Matt Gushee
On Thu, Mar 5, 2015 at 6:18 PM, Dan Leslie d...@ironoxide.ca wrote: You might want to consider the nanomsg egg, which doesn't appear to have a wiki page yet. https://github.com/Adellica/chicken-nanomsg Oh, great, yet another alternative to consider! :-/ Well, maybe. I've never heard of

Re: [Chicken-users] Updating the zmq egg

2015-03-05 Thread Dan Leslie
You might want to consider the nanomsg egg, which doesn't appear to have a wiki page yet. https://github.com/Adellica/chicken-nanomsg -Dan Matt Gushee m...@gushee.net writes: Hello, folks-- I am developing a distributed application for which I would like to use ZeroMQ. I've discovered,

[Chicken-users] [TFPIE 2015] 2nd call for papers

2015-03-05 Thread Peter Achten
Trends in Functional Programming in Education (TFPIE 2015) 2nd Call for papers https://wiki.science.ru.nl/tfpie/TFPIE2015 The 4th International Workshop on Trends in Functional Programming in Education, TFPIE 2015, will be held on June 2, 2015 in

Re: [Chicken-users] Updating the zmq egg

2015-03-05 Thread Peter Bex
On Thu, Mar 05, 2015 at 06:24:26PM -0700, Matt Gushee wrote: Thanks, but I guess my question wasn't sufficiently clear. My updated code already has: *(foreign-lambda int zmq_recv socket message size_t int); and (foreign-lambda int zmq_send socket message size_t int)* What I was