(import srfi-105)
(display { 1 + 1 } )
returns,
Warning: literal in operator position: (1 + 1)
Warning: Invalid procedure
At the toplevel,
In procedure call:
(1 scheme#+ 1)
The procedure expression does not appear to be a callable.
This is the expression:
1
The expected type is:
(* * -> *)
The actual type is:
fixnum
Error: call of non-procedure: 1
Call history:
test01.scm:1: chicken.load#load-extension
srfi-105.scm:2: chicken.load#load-extension
SRFI-105 defines a reader extension. To use one in compiled code, you need to load the code providing it before compilation. In this case, with `csc5 -X srfi-105 test01.scm`.
Feel free to ask questions specific to CHICKEN Scheme on our IRC channel (#chicken on libera.chat) or mailing list (
[email protected]).
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)