chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Embedding example from manual


From: john
Subject: [Chicken-users] Embedding example from manual
Date: Thu, 11 Jan 2007 14:00:23 +0000

I pasted in the first example in
http://galinha.ucpel.tche.br/Embedding to try out. The define-external
is missing a closing bracket and I think it needs a (return-to-host)
at the end.

(define (bar x) (gc) (* x x))

(define-external (baz (int i)) double
 (sqrt i))

(return-to-host)

I wanted to check before editing the wiki.

Cheers.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]