# Blog articles/Exercises

### From HaskellWiki

< Blog articles(Difference between revisions)

DonStewart (Talk | contribs) (→Programming exercises in Haskell) |
Ferronrsmith (Talk | contribs) m (just added another link) |
||

(3 intermediate revisions by one user not shown) | |||

Line 20: | Line 20: | ||

* [http://realfiction.net/?q=node/123 Decision making] |
* [http://realfiction.net/?q=node/123 Decision making] |
||

* [http://byorgey.wordpress.com/2007/06/21/solving-an-arithmetic-puzzle-with-haskell/ Solving an arithmetic puzzle with Haskell] |
* [http://byorgey.wordpress.com/2007/06/21/solving-an-arithmetic-puzzle-with-haskell/ Solving an arithmetic puzzle with Haskell] |
||

+ | * [http://byorgey.wordpress.com/2007/08/13/rationals/ The Rationals] |
||

* [http://www.perlmonks.org/?node_id=632023 Break a string into pieces] |
* [http://www.perlmonks.org/?node_id=632023 Break a string into pieces] |
||

Line 30: | 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 69: | 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

## Contents |

## [edit] 1 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

## [edit] 2 Particular exercises

### [edit] 2.1 Prime sieves

### [edit] 2.2 Supermarket Pricing

### [edit] 2.3 Ball Clock Puzzle

### [edit] 2.4 N-Queens

### [edit] 2.5 The Google Code Jam "countPaths" problem

### [edit] 2.6 Secret Santas in Haskell

### [edit] 2.7 Run length encoding

### [edit] 2.8 The bowling puzzle

- The Bowling Game Kata in Haskell
- Bowling in Haskell

### [edit] 2.9 Norvig's spell checker

### [edit] 2.10 Chris' Puzzle

### [edit] 2.11 Word numbers

- Solving the word numbers problem: