Personal tools

Gallery

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(link)
m (link update)
Line 7: Line 7:
 
* [[GuessRandom]]: Simple 'guess the random number game', demonstrating IO, random numbers, and basic environment interaction (getArgs, exitWith, user interaction).
 
* [[GuessRandom]]: Simple 'guess the random number game', demonstrating IO, random numbers, and basic environment interaction (getArgs, exitWith, user interaction).
 
* [[Simple STM Example]]: A really simple toy program illustrating [[Research_papers/Parallelism_and_concurrency#Software_transactional_memory|sofware transactional memory]] (STM).
 
* [[Simple STM Example]]: A really simple toy program illustrating [[Research_papers/Parallelism_and_concurrency#Software_transactional_memory|sofware transactional memory]] (STM).
* [[Background Thread Example]]: An example of sending work to background threads, using [[Research_papers/Parallelism_and_concurrency#Software_transactional_memory|software transational memory]]
+
* [[Background thread example]]: An example of sending work to background threads, using [[Research_papers/Parallelism_and_concurrency#Software_transactional_memory|software transational memory]]
 
* [[Simple unix tools]], one liner unix tools in Haskell
 
* [[Simple unix tools]], one liner unix tools in Haskell
 
* [[Roll your own IRC bot]], build a small IRC bot, with a monad transformer
 
* [[Roll your own IRC bot]], build a small IRC bot, with a monad transformer

Revision as of 18:49, 7 October 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.

See also the example code page.