
Little Helper contains a full text search engine. Currently it indexes all html-files in /collects/doc. A mockup web-interface is present in order to facilitate easy experimentation with searches. Run run-indexer to generate the index for your documentation dir. Run launch to start a web-server with the search interface. Note: Currently assumes w3m is in your path (used to precompute the preview-snippets shown in the search results. svn: r8836
11 lines
255 B
Scheme
11 lines
255 B
Scheme
#lang scheme
|
|
|
|
(provide intersperse)
|
|
|
|
(define (intersperse seperator xs)
|
|
(cond
|
|
[(null? xs) '()]
|
|
[(null? (cdr xs)) xs]
|
|
[else (cons (car xs)
|
|
(cons seperator
|
|
(intersperse seperator (cdr xs))))])) |