1 2 3 4
(define (remove-subnodes n L) (cond ((null? L) `()) ((= n (car L)) L) ...
1 2 3
#!/usr/bin/guile \ -e main -s ...
Lisp CipherSaber
by Chris Jester-Young,
June 22, 2008 05:39,
1 refactoring, tagged with scheme, ciphersaber, encryption
Apparently the last Scheme ...
1 2 3 4
;; 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
1 2 3 4
; 5*O(n) (defun next-lex (a) (let* ((r (reverse a)) ...
Lisp Lexicographically next perm...
by Kartik Agaram,
October 04, 2007 00:19,
9 refactorings
Given a list of numbers, ge...
1 2 3 4
(defun header-encode (string) (if (find-if (lambda (c) (> (char-code c) 127)) string) ...
Lisp folding of non-ascii long h...
by luser.myopenid.com/,
October 02, 2007 11:37,
2 refactorings
I would like to use header-...
This is written in a dialec...