Personal tools

Gallery

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(+wc -l tutorial/code)
Line 4: Line 4:
 
* [[Sudoku]]: Several Sudoku solvers
 
* [[Sudoku]]: Several Sudoku solvers
 
* [[Wc]]: A number of increasingly sophisticated wc -l programs, written as a benchmark.
 
* [[Wc]]: A number of increasingly sophisticated wc -l programs, written as a benchmark.
  +
* [[Anagrams]]: Short but efficient program that generates anagrams using Data.ByteString.

Revision as of 16:23, 9 June 2006

The Gallery is a repository of small programs. Each one should compile to a complete executable that does something, but also illustrates what a Haskell program actually looks like. Good Gallery examples should be well commented with a view to helping new programmers understand what is going on.

  • Phone Number: Generates mnemonics for phone numbers. Actually written as a benchmark.
  • Sudoku: Several Sudoku solvers
  • Wc: A number of increasingly sophisticated wc -l programs, written as a benchmark.
  • Anagrams: Short but efficient program that generates anagrams using Data.ByteString.