> (import (ironscheme linq))
> (define y '(1 2 3))
> (from x in y select x)
Unhandled exception
Condition components:
1. &message: "invalid syntax"
2. &syntax:
form: (from x in y select x)
subform: #f
3. &trace: #<syntax (from x in y select x)>
Now we have file 'test.ss':
(import (rnrs))
(import (ironscheme linq))
Ikarus Scheme version 0.0.3+ (revision 1460, build 2008-05-01)
Copyright (c) 2006-2008 Abdulaziz Ghuloum
> (import (ironscheme linq))
> (define y '(1 2 3))
> (from x in y select x)
Unhandled exception
Condition components:
1. &message: "invalid syntax"
2. &syntax:
form: (from x in y select x)
subform: #f
3. &trace: #<syntax (from x in y select x)>
Now we have file 'test.ss':
(import (rnrs))
(import (ironscheme linq))
(write (from x in '(1 2 3) select x))
(newline)
And loading it works fine.
> (load "test.ss")
(1 2 3)