(define (compose . fns)
  (define (make-chain fn chain)
...

Lisp Generalised composition

by Chris Jester-Young, April 22, 2009 04:24, 2 refactorings, tagged with functional, scheme, compose

Most people have worked wit...

729442eea8d8548842a6e0947e333c7b Talk
#!/usr/bin/guile \
-e main -s
...

Lisp CipherSaber

by Chris Jester-Young, June 22, 2008 05:39, 1 refactoring, tagged with encryption, scheme, ciphersaber

Apparently the last Scheme ...

729442eea8d8548842a6e0947e333c7b Talk
;; Turns a flat-list into a list of n-sized lists
;; Examples:
;;   (group-by '(1 2 3 4) 2) => ((1 2) (3 4))
...

Lisp Group-by

by omouse.vox.com, December 21, 2007 19:55, 5 refactorings, tagged with scheme, lists, flatlist, group

Tested on MzScheme

55502f40dc8b7c769880b10874abc9d0 Talk