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
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
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
-
C A L L F O R P A P E R S
-
TFP 2015 ===
16th Symposium on Trends in Functional Programming
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
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?
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
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
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