Difference between revisions of "Haskell Quiz"

From HaskellWiki
Jump to navigation Jump to search
m
m (moved 54-Text Index and Query to "solved")
Line 31: Line 31:
 
43. [[Haskell Quiz/Sodoku Solver|Sodoku Solver]]
 
43. [[Haskell Quiz/Sodoku Solver|Sodoku Solver]]
   
54. [[Haskell Quiz/Index and Query|Index and Query]]
+
54. [[Haskell Quiz/Index and Query|Text Index and Query]]
   
 
57. [[Haskell Quiz/Weird Numbers|Weird Numbers]]
 
57. [[Haskell Quiz/Weird Numbers|Weird Numbers]]
Line 68: Line 68:
   
 
49. Text Image http://www.rubyquiz.com/quiz50.html (Not sure how image loading will work)
 
49. Text Image http://www.rubyquiz.com/quiz50.html (Not sure how image loading will work)
 
54. Text Index and Query http://rubyquiz.com/quiz54.html
 
   
 
65. Splitting the Loot http://www.rubyquiz.com/quiz65.html
 
65. Splitting the Loot http://www.rubyquiz.com/quiz65.html

Revision as of 22:04, 18 December 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.

The Puzzles

1. The Solitaire Cipher

2. Secret Santas

7. Countdown

15. Animal Quiz

19. Yahtzee

20. Phone Number Words

22. Roman Numerals

25. English Numerals

31. Amazing Mazes

33. Tiling Turmoil

39. Sampling

43. Sodoku Solver

54. Text Index and Query

57. Weird Numbers

60. Numeric Maze

63. Grid Folding

76. Text Munger

84. PP Pascal

92. DayRange

93. Happy Numbers

97. Posix Pangrams

98. A*

99. Fuzzy Time

100. Bytecode Compiler

Possibly fun ones not yet done in haskell

3. Geodesic Dome Faces http://www.rubyquiz.com/quiz3.html

11. Learning Tic-Tac-Toe http://www.rubyquiz.com/quiz11.html

27. Knight's Trevails http://www.rubyquiz.com/quiz27.html

37. Inference Engine http://www.rubyquiz.com/quiz37.html

48. Math Captcha http://www.rubyquiz.com/quiz48.html

49. Text Image http://www.rubyquiz.com/quiz50.html (Not sure how image loading will work)

65. Splitting the Loot http://www.rubyquiz.com/quiz65.html

70. Constraint Processing http://www.rubyquiz.com/quiz70.html

85. C-Style Ints http://www.rubyquiz.com/quiz85.html

87. Negative Sleep http://www.rubyquiz.com/quiz87.html (As a Monad!!!)

88. Chip-8 http://www.rubyquiz.com/quiz88.html

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.