This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: more guile for perl refugees (split, join)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]