This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: more guile for perl refugees (split, join)
- To: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Subject: Re: more guile for perl refugees (split, join)
- From: Steve Tell <tell at telltronics dot org>
- Date: Wed, 28 Jun 2000 01:29:32 -0400 (EDT)
- cc: Guile Mailing List <guile at sourceware dot cygnus dot com>
On Tue, 27 Jun 2000, Dirk Herrmann wrote:
> Very nice routines, very nicely chosen topic: "guile for perl refugees"
> I think this is a very cool idea for how to name the corresponding links
> from the guile web site:
>
> guile for perl refugees
> guile for tcl refugees
Thanks!
Don't forget "guile for C refugees;" here's my collection so far.
Mostly they serve as reminders instead of a library:
; bitwise ops
(define & logand)
(define | logior)
(define ^ logxor)
(define ~ lognot)
; some common idioms:
;
; for(i = 0; i < 5; i++) printf("hi\n"); becomes:
;
; (do ((i 0 (+ i 1))) ((>= i 5))
; (display "hi\n"))
cheers,
Steve