Personal tools

Blog articles/Exercises

From HaskellWiki

< Blog articles(Difference between revisions)
Jump to: navigation, search
(Programming exercises in Haskell)
Current revision (06:00, 20 February 2008) (edit) (undo)
m (just added another link)
 
(2 intermediate revisions not shown.)
Line 31: Line 31:
=== Supermarket Pricing ===
=== Supermarket Pricing ===
* [http://blog.moertel.com/articles/2006/04/28/the-supermarket-pricing-kata-in-haskell The Supermarket Pricing Kata in Haskell]
* [http://blog.moertel.com/articles/2006/04/28/the-supermarket-pricing-kata-in-haskell The Supermarket Pricing Kata in Haskell]
 +
 +
===Ball Clock Puzzle===
 +
 +
* [http://the-little-haskeller.blogspot.com/2007/11/solve-ball-clock-puzzle-in-python-and.html Solve Ball Clock Puzzle in Python and Haskell]
 +
 +
===N-Queens===
 +
 +
* [http://therning.org/magnus/archives/330 N-Queens in Haskell]
=== The Google Code Jam "countPaths" problem ===
=== The Google Code Jam "countPaths" problem ===
Line 70: Line 78:
* [http://www.joachim-breitner.de/blog/archives/139-Haskell-as-a-puzzle-Solver.html Haskell as a puzzle solver]
* [http://www.joachim-breitner.de/blog/archives/139-Haskell-as-a-puzzle-Solver.html Haskell as a puzzle solver]
* [http://myawesomeblag.blogspot.com/2007/03/opengl-tetris-in-haskell.html OpenGL tetris in Haskell]
* [http://myawesomeblag.blogspot.com/2007/03/opengl-tetris-in-haskell.html OpenGL tetris in Haskell]
 +
* [http://hmastermind.blogspot.com/ Mastermind Game for Haskell]

Current revision


Contents

1 Programming exercises in Haskell

2 Particular exercises

2.1 Prime sieves

2.2 Supermarket Pricing

2.3 Ball Clock Puzzle

2.4 N-Queens

2.5 The Google Code Jam "countPaths" problem

2.6 Secret Santas in Haskell

2.7 Run length encoding

2.8 The bowling puzzle

2.9 Norvig's spell checker

2.10 Chris' Puzzle

2.11 Word numbers

2.12 Games