t3x.org / nss / index.html

(Nils' Scheme Snippets)

 
Paren matching: OFF  |  Category: index  |  Overview  |  Scheme Books  |  License
 

Category: datatypes

records - Implement ML-style records.

Category: io

read-line - Read a line from an input port.

Category: lists

count - Count the atomic members of a pair.
depth - Compute the depth of a list.
filter - Extract elements from a list.
flatten - Convert tree to flat list.
fold-left - Fold lists to values, left-associative version.
fold-right - Fold lists to values, right-associative version.
iota - Create ranges of integers.
mergesort - Sort lists using the mergesort algorithm.
partition - Partition a list into elements with and without a given property.
qsort - Sort lists using the quicksort algorithm.
remove - Remove elements from a list.
replace - Replace elements of a pair.
substitute - Substitute subforms of a given form.

Category: logic

amk - Another Mirco Kanren - embed logic programming into Scheme.
zebra - Solve the zebra puzzle using AMK.

Category: math

combine - Create combinations of sets.
exists - Test whether a given property exists in a sequence of lists.
factor - Factor an integer down to its constituent primes.
factorial - Compute the factorial of a number.
for-all - Test whether all members of a sequence of lists have a given property.
hyper - Compute a hyper(n) b.
id - Identity.
intersection - Compute the intersection of a number of sets.
list-to-set - Convert list to set.
make-partitions - Create all partitions of a positive integer.
permute - Create permutations of sets.
sum - Compute the sum of a range of integers.
transpose - Transpose a matrix.
union - Compute the union of a number of sets.

Category: misc

explode - Explode a symbol into a list of single-character symbols.
implode - Implode a list of single-character symbols into a symbol.

Category: strings

read-from-string - Read a datum from a string.
regex - Compile and match regular expressions.
string-split - Split a string into substrings.
write-to-string - Write external representation to string.

Category: syntax

curry - Currying and uncurrying procedures.

Category: tools

draw-tree - Print a tree structure resembling a Scheme datum.
pretty-print - Pretty-print Scheme forms or files.
print-code - Render Scheme in HTML with syntax highlighting.

Copyright (C) 2007 Nils M Holm <nmh @ t3x . org>