# Blog articles/Exercises

### From HaskellWiki

< Blog articles(Difference between revisions)

DonStewart (Talk | contribs) (→Programming exercises in Haskell) |
DonStewart (Talk | contribs) (→Particular exercises) |
||

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] |
||

+ | |||

+ | ===N-Queens=== |
||

+ | |||

+ | * [http://therning.org/magnus/archives/330 N-Queens in Haskell] |
||

=== The Google Code Jam "countPaths" problem === |
=== The Google Code Jam "countPaths" problem === |

## Revision as of 00:31, 9 December 2007

## Contents |

## 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

## 2 Particular exercises

### 2.1 Prime sieves

### 2.2 Supermarket Pricing

### 2.3 N-Queens

### 2.4 The Google Code Jam "countPaths" problem

### 2.5 Secret Santas in Haskell

### 2.6 Run length encoding

### 2.7 The bowling puzzle

- The Bowling Game Kata in Haskell
- Bowling in Haskell

### 2.8 Norvig's spell checker

### 2.9 Chris' Puzzle

### 2.10 Word numbers

- Solving the word numbers problem: