Scheme Scraps

Scrap User Syntax License Created Updated
Transpose of an nxm matrix using Scheme This code takes an input matrix as a list of lists, and outputs the transpose of the matrix as a list ...
vpoddar88 Scheme Public Domain 10 Jan 2010 7 years, 5 months ago
Transpose of an nxm matrix using SML and Pattern Matching This code takes an input matrix as a list of lists, and outputs the transpose of the matrix as a list ...
vpoddar88 Scheme Public Domain 10 Jan 2010 7 years, 5 months ago
Palindrome using lists Given a sentence, this code finds the palindrome or the sentence
vpoddar88 Scheme Public Domain 10 Jan 2010 7 years, 5 months ago
final.ss Get the last element in a list
tags: last list Scheme
jwodder Scheme Public Domain 13 Jan 2010 7 years, 5 months ago
list-head.ss Return an initial portion of a list
tags: list lists Scheme
jwodder Scheme Public Domain 13 Jan 2010 7 years, 5 months ago
flatten.ss Convert a list of lists to a flat list
jwodder Scheme Public Domain 13 Jan 2010 7 years, 5 months ago
uniq.ss Return only the unique elements of a (pre-sorted) list
jwodder Scheme Public Domain 13 Jan 2010 7 years, 5 months ago
slice.ss Get a sublist of a list
jwodder Scheme Public Domain 13 Jan 2010 7 years, 5 months ago
Scheme shuffle returns a list of numbers from one to n (inclusive) in a random order
tags: scheme shuffle
alexeiboronine Scheme Public Domain 11 Jan 2010 7 years, 5 months ago

Page:

1