Hello,
I tried the following with chicken 2.6:
(define v1 (/ 1 3))
(call-with-output-file try.dat
(lambda (port)
(write v1 port)))
(define v2 (call-with-input-file try.dat
(lambda (port)
On Aug 25, 2007, at 1:44 PM, Gábor Balázs wrote:
Hello,
I tried the following with chicken 2.6:
(define v1 (/ 1 3))
(call-with-output-file try.dat
(lambda (port)
(write v1 port)))
(define v2 (call-with-input-file try.dat
Unfortunately I have inexact number in a complicated structure. :(
The example below was only a little demonstration.
So I just tried the numbers egg, but as you told it does not help.
And I cannot change to an other scheme implementation because of a special
API egg.
I tried two other (chez,
Folks,
Since I'm still having problems with syntax-case and rest arguments, I
have devised the following example which hopefully makes my problem clear:
(define-syntax test
(lambda (x)
(syntax-case x ()
((_ (name ...) body ...)
(syntax
(define (name ...)
body
Hello, Gábor,
You might want to look at the endian-port egg, which implements
reading and writing of numbers in different endianness, and the
mat5-lib egg, which implements the Matlab binary format for storing
matrices and Matlab structures and objects.
-Ivan
Gábor Balázs [EMAIL
Hi,
As Ivan suggested endian-port does float i/o but it also contains
GNU GPL'ed code
Best Wishes,
Kon
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
On Aug 25, 2007, at 7:58 PM, Ivan Raikov wrote:
What exactly is that supposed to mean? Are we now disrespecting each
other's contributions because of license bigotry? I am deeply
disappointed to hear that from you, Kon.
Sorry you jumped to the conclusion that I was committing license
First of all, we don't know if the project is commercial or not, or
whether that person is even planning on distributing their code, or
just using it internally in their organization or for personal
hobbyist projects -- the GPL does _not_ apply to the latter two
situations. Why the need for
Mark,
The #!rest syntax is supported directly by Chicken and it appears the
extra indirection involved in syntax-case is causing the #!rest
keyword to be renamed before Chicken sees it (as you've probably
surmised). I do not know an easy way to fix this offhand, although
some syntax-case wizard
The Chicken core and the vast majority of eggs are BSD or MIT
licensed; only 43 of 364 eggs are GPL. It is not unreasonable to
point this out, in case a new user is unaware that different eggs come
with a wide variety of licenses (unlike some more homogeneous
languages). I did not interpret
10 matches
Mail list logo