[Chicken-users] How to tell csc to call main?

2014-12-19 Thread Sascha Ziemann
Hi, How to tell csc to call main in the same way like csi -ss? $ cat distribution.scm #! /usr/bin/csi -ss (define (main args) (display main\n)) $ ./distribution.scm main $ csc distribution.scm $ ./distribution $ csc does not seem to have a -ss option. Regards, Sascha

Re: [Chicken-users] How to tell csc to call main?

2014-12-19 Thread Christian Kellermann
Hi! * Sascha Ziemann cev...@gmail.com [141219 14:43]: How to tell csc to call main in the same way like csi -ss? csc does not seem to have a -ss option. Call (main) at toplevel. If you want to change the behaviour depending on whether the code is compiled or interpreted you can use cond-expand

Re: [Chicken-users] How to tell csc to call main?

2014-12-19 Thread Moritz Heidkamp
Hi, Christian Kellermann ck...@pestilenz.org writes: Call (main) at toplevel. If you want to change the behaviour depending on whether the code is compiled or interpreted you can use cond-expand testing for feature 'compiling alternatively pass an option like this to csc: -postlude '(main

[Chicken-users] [TFP 2015] 1st call for papers

2014-12-19 Thread Peter Achten
- C A L L F O R P A P E R S - TFP 2015 === 16th Symposium on Trends in Functional Programming

[Chicken-users] testing if a symbol has been interned

2014-12-19 Thread Alexej Magura
In Common Lisp, clisp specifically, you can test whether a symbol has been bound, that is interned, or not using boundp; is there a way to do this in Chicken? (boundp 'a) ; nil (defvar a 1) (boundp 'a) ; t I wrote up a function once a while back that used exception handling to check if a

Re: [Chicken-users] testing if a symbol has been interned

2014-12-19 Thread Daniel Leslie
You could use the apropos egg to accomplish this. -Dan On Fri, Dec 19, 2014 at 10:38 PM, Alexej Magura agm2...@gmail.com wrote: In Common Lisp, clisp specifically, you can test whether a symbol has been bound, that is interned, or not using boundp; is there a way to do this in Chicken?

Re: [Chicken-users] testing if a symbol has been interned

2014-12-19 Thread Kon Lovett
On Dec 19, 2014, at 10:38 PM, Alexej Magura agm2...@gmail.com wrote: In Common Lisp, clisp specifically, you can test whether a symbol has been bound, that is interned, or not using boundp; is there a way to do this in Chicken? (boundp 'a) ; nil (defvar a 1) (boundp 'a) ; t I

Re: [Chicken-users] testing if a symbol has been interned

2014-12-19 Thread Daniel Leslie
Relatedly, is there a tool that can describe *where* a symbol was bound? -Dan On Fri, Dec 19, 2014 at 10:45 PM, Kon Lovett konlov...@gmail.com wrote: On Dec 19, 2014, at 10:38 PM, Alexej Magura agm2...@gmail.com wrote: In Common Lisp, clisp specifically, you can test whether a symbol has

Re: [Chicken-users] testing if a symbol has been interned

2014-12-19 Thread Alexej Magura
Thanks, Kon. On 12/19/2014 11:45 PM, Kon Lovett wrote: On Dec 19, 2014, at 10:38 PM, Alexej Magura agm2...@gmail.com mailto:agm2...@gmail.com wrote: In Common Lisp, clisp specifically, you can test whether a symbol has been bound, that is interned, or not using boundp; is there a way to