Difference between revisions of "Blog articles/Exercises"
Jump to navigation
Jump to search
DonStewart (talk | contribs) |
Ferronrsmith (talk | contribs) m (just added another link) |
||
(One intermediate revision by one other user 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=== |
===N-Queens=== |
||
Line 74: | 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] |
Latest revision as of 06:00, 20 February 2008
Programming exercises in Haskell
- Diff in Haskell
- Introductory Haskell: Solving the Sorting-It-Out Kata
- The "perfect shuffles" puzzle (solved in Haskell)
- A Simple RPN Calculator in Haskell
- Software Cipher
- Dot matrix printer
- Overlap function in Haskell for rectangles
- Tying Knots Generically
- A quick and dirty theorem prover in Haskell
- Brainf*k interpreter in Haskell
- FourFours in Haskell
- Using Bayesian filtering instead of 'if' in Haskell
- Counting fibonaccis
- Decision making
- Solving an arithmetic puzzle with Haskell
- The Rationals
- Break a string into pieces
Particular exercises
Prime sieves
Supermarket Pricing
Ball Clock Puzzle
N-Queens
The Google Code Jam "countPaths" problem
Secret Santas in Haskell
Run length encoding
The bowling puzzle
- The Bowling Game Kata in Haskell
- Bowling in Haskell
Norvig's spell checker
Chris' Puzzle
Word numbers
- Solving the word numbers problem: