# Blog articles/Exercises

### From HaskellWiki

< Blog articles(Difference between revisions)

DonStewart (Talk | contribs) (categorise) |
DonStewart (Talk | contribs) |
||

Line 18: | Line 18: | ||

* [http://www.randomhacks.net/articles/2007/02/22/bayes-rule-and-drug-tests Using Bayesian filtering instead of 'if' in Haskell] | * [http://www.randomhacks.net/articles/2007/02/22/bayes-rule-and-drug-tests Using Bayesian filtering instead of 'if' in Haskell] | ||

* [http://www.peanutbuttercode.com/?p=14 Counting fibonaccis] | * [http://www.peanutbuttercode.com/?p=14 Counting fibonaccis] | ||

+ | |||

+ | == Particular exercises == | ||

=== Prime sieves === | === Prime sieves === | ||

* [http://mackys.livejournal.com/424766.html Prime sieves in Haskell] | * [http://mackys.livejournal.com/424766.html Prime sieves in Haskell] | ||

* [http://kenta.blogspot.com/2006/11/eratosthenes-sieve.html Eratosthenes sieve] | * [http://kenta.blogspot.com/2006/11/eratosthenes-sieve.html Eratosthenes sieve] | ||

+ | |||

+ | === Supermarket Pricing === | ||

+ | * [http://blog.moertel.com/articles/2006/04/28/the-supermarket-pricing-kata-in-haskell The Supermarket Pricing Kata in Haskell] | ||

=== Secret Santas in Haskell === | === Secret Santas in Haskell === | ||

− | + | * [http://mult.ifario.us/articles/2006/12/18/secret-santas-in-haskell-i-preliminaries I: Preliminaries] | |

− | + | * [http://mult.ifario.us/articles/2006/12/18/secret-santas-in-haskell-ii-orbits-and-lists II: Orbits and Lists] | |

− | + | * [http://mult.ifario.us/articles/2006/12/22/secret-santas-in-haskell-iii-collect-reap-repeat III: Lather, Rinse, Repeat 1] | |

=== Run length encoding === | === Run length encoding === | ||

− | + | * [http://praisecurseandrecurse.blogspot.com/2007/03/haskell-for-short-attention-span-run.html part 1] | |

− | + | * [http://praisecurseandrecurse.blogspot.com/2007/03/haskell-for-short-attention-span-run_05.html part 2] | |

− | + | * [http://praisecurseandrecurse.blogspot.com/2007/03/haskell-for-short-attention-span-run_07.html part 3] | |

=== The bowling puzzle === | === The bowling puzzle === |

## Revision as of 02:40, 3 July 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

## 2 Particular exercises

### 2.1 Prime sieves

### 2.2 Supermarket Pricing

### 2.3 Secret Santas in Haskell

### 2.4 Run length encoding

### 2.5 The bowling puzzle

- The Bowling Game Kata in Haskell
- Bowling in Haskell