Personal tools

Haskell Quiz

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search

Revision as of 19:26, 30 November 2006

A collection of solutions to the Ruby quiz puzzles in simple, elegant Haskell.

As you solve the puzzles, please contribute your code, and create a page for the puzzle entries. When creating a new page for your source, be sure to categorise it as code, with a [ [ Category:Code ] ] tag.

1 The Puzzles

1. The Solitaire Cipher

2. Secret Santas

7. Countdown

19. Yahtzee

22. Roman Numerals

25. English Numerals

31. Amazing Mazes

33. Tiling Turmoil

39. Sampling

43. Sodoku Solver

57. Weird Numbers

60. Numeric Maze

63. Grid Folding

76. Text Munger

84. PP Pascal

93. Happy Numbers

97. Posix Pangrams

98. A*

99. Fuzzy Time

100. Bytecode Compiler

2 Possibly fun ones not yet done in haskell

3. Geodesic Dome Faces

11. Learning Tic-Tac-Toe

27. Knight's Trevails

37. Inference Engine

48. Math Captcha

49. Text Image (Not sure how image loading will work)

54. Text Index and Query

65. Splitting the Loot

70. Constraint Processing

85. C-Style Ints

87. Negative Sleep (As a Monad!!!)

88. Chip-8

92. DayRange

Many weren't included because of either clumsy ASCII output, or requiring a dictionary. Perhaps a dictionary module could be created and those problems attacked in a unified fashion.