Hi,

funny this also came up in a discussion with a friend that uses vi.
So for him this snippet now does the job:

$ cat scheme-indent.scm
(use extras)
(let loop ((sexpr (read)))
  (unless (equal? sexpr #!eof)
    (pp sexpr)(newline)
    (loop (read))))

Called with {!}scheme-indent on a paragraph.

HTH,

Christian

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to