[Top][All Lists]

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

Re: In search of cool Scheme

From: Jorgen 'forcer' Schaefer
Subject: Re: In search of cool Scheme
Date: 22 May 2001 23:00:46 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Sam Tregar <address@hidden> writes:

> On 22 May 2001, Craig Brozefsky wrote:
> > How about something using the venerable call-with-chocolate-city, errr
> > sorry I've been funk infected, that's call-with-current-continuation,
> > or call/cc.
> How about it?  I call your bluff - use call/cc in a small example of
> funkdified Scheme.

The signature of Maciej Stachowiak <address@hidden> contains
the following nice code:

guile -c '(define c call-with-current-continuation)(define(f s)(lambda(o)(let
((n(c(lambda(x)(o x)x))))(let p((n n)(l(string->list s)))(cond((not (null? l)
)(display(car l))(p(c n)(cdr l))))))))((f"Js nte ul akr")(f"utAohrGieHce\n"))'

Deobfuscated, this could be a nice example *8)

        -- Jorgen

((email . "address@hidden")       (www . "";)
 (irc   . "address@hidden (IRCnet)") (gpg .    "1024D/028AF63C"))

reply via email to

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