# OT: Ruby Quiz in Haskell

**URL:** <https://www.ruby-forum.com/t/ot-ruby-quiz-in-haskell/73830>\
**Category:** Ruby\
**Created:** [October 27, 2006, 1:04pm UTC](https://www.ruby-forum.com/t/ot-ruby-quiz-in-haskell/73830 "2006-10-27T13:04:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@jimb](https://www.ruby-forum.com/u/jimb)\
**Post date:** [October 27, 2006, 1:04pm UTC](https://www.ruby-forum.com/t/ot-ruby-quiz-in-haskell/73830/1 "2006-10-27T13:04:13Z")

</div>

Hello Ruby T.ers, some people are trying out the Ruby Q. puzzles in  
Haskell and collecting the results here -  
[Haskell Quiz - HaskellWiki](http://www.haskell.org/haskellwiki/Haskell_Quiz) . You might be  
interested to see the differences and similarities between the Haskell  
solutions and your own. There are only a few so far, but the list of  
ones people have tried is growing.

Maybe lots of people try the quiz in lots of different languages (I know  
I have) because they’re fun and usually very nicely balanced little  
puzzles. It’s useful to try them out when you’re learning a language and  
want to get to know libraries etc. They’re well suited for Haskell as  
well because it, like Ruby, is excellent for exploratory programming and  
quite a few of them involve searching etc.

So,thanks to J. E. G. and everyone else who puts ideas in! Keep those  
Fridays coming!

---

<div class="post-metadata">

**Author:** ![jimb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@jimb](https://www.ruby-forum.com/u/jimb)\
**Post date:** [October 27, 2006, 2:27pm UTC](https://www.ruby-forum.com/t/ot-ruby-quiz-in-haskell/73830/2 "2006-10-27T14:27:30Z")

</div>

On Oct 27, 2006, at 6:04 AM, Jim B. wrote:

> I have) because they’re fun and usually very nicely balanced little  
> puzzles. It’s useful to try them out when you’re learning a  
> language and  
> want to get to know libraries etc. They’re well suited for Haskell as  
> well because it, like Ruby, is excellent for exploratory  
> programming and  
> quite a few of them involve searching etc.
> 
> So,thanks to J. E. G. and everyone else who puts ideas in! Keep those  
> Fridays coming!

I’m thrilled to hear that others are enjoying the quiz. The problems  
are definitely applicable to all languages.

Send us your favorite Haskell problems, so we can try those too.

James Edward G. II

---

<div class="post-metadata">

**Author:** ![jimb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@jimb](https://www.ruby-forum.com/u/jimb)\
**Post date:** [October 27, 2006, 2:29pm UTC](https://www.ruby-forum.com/t/ot-ruby-quiz-in-haskell/73830/3 "2006-10-27T14:29:31Z")

</div>

On 10/27/06, Jim B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Maybe lots of people try the quiz in lots of different languages (I know  
> I have) because they’re fun and usually very nicely balanced little  
> puzzles. It’s useful to try them out when you’re learning a language and  
> want to get to know libraries etc. They’re well suited for Haskell as  
> well because it, like Ruby, is excellent for exploratory programming and  
> quite a few of them involve searching etc.

Neat 🙂 I started doing them in Common Lisp but then got sidetracked -  
wonder if I still have that code anywhere.

martin

---

<div class="post-metadata">

**Author:** ![jimb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@jimb](https://www.ruby-forum.com/u/jimb)\
**Post date:** [October 27, 2006, 3:27pm UTC](https://www.ruby-forum.com/t/ot-ruby-quiz-in-haskell/73830/4 "2006-10-27T15:27:37Z")

</div>

On 10/27/06, Louis J Scoras [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

I’ve not tried them in other languages (yet), but would love to read  
writeups about them in Haskell, OCaml, Lisp, Scheme, etc.  
Shoot, if Ed wants to write up an annotated solution in Forth, I’d  
love to read that. :^)

---

<div class="post-metadata">

**Author:** ![jimb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@jimb](https://www.ruby-forum.com/u/jimb)\
**Post date:** [October 27, 2006, 2:53pm UTC](https://www.ruby-forum.com/t/ot-ruby-quiz-in-haskell/73830/5 "2006-10-27T14:53:33Z")

</div>

On 10/27/06, Martin DeMello [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Neat 🙂 I started doing them in Common Lisp but then got sidetracked -  
> wonder if I still have that code anywhere.

I was actually writing up a couple of articles on doing the quiz  
solutions in CL, but unfortunately got a little sidetracked. It would  
definitely help a bit in the motivation department to know that people  
are actually interested in seeing solutions in other languages =)  
What other languages have folks tried these in?

---

<div class="post-metadata">

**Author:** ![jimb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@jimb](https://www.ruby-forum.com/u/jimb)\
**Post date:** [October 27, 2006, 3:53pm UTC](https://www.ruby-forum.com/t/ot-ruby-quiz-in-haskell/73830/6 "2006-10-27T15:53:40Z")

</div>

- Jim B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) [27.10.2006]:

> [Haskell Quiz - HaskellWiki](http://www.haskell.org/haskellwiki/Haskell_Quiz) . You might be

Great! I just recently decided to have a look at Haskell - so having  
some examples for which Ruby _and_ Haskell solutions exist will  
certainly help! 🙂

Cheers,

Steph.

---

<div class="post-metadata">

**Author:** ![jimb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@jimb](https://www.ruby-forum.com/u/jimb)\
**Post date:** [October 27, 2006, 4:14pm UTC](https://www.ruby-forum.com/t/ot-ruby-quiz-in-haskell/73830/7 "2006-10-27T16:14:13Z")

</div>

pat eyler wrote:

> On 10/27/06, Louis J Scoras [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > 
> 
> I’ve not tried them in other languages (yet), but would love to read  
> writeups about them in Haskell, OCaml, Lisp, Scheme, etc.  
> Shoot, if Ed wants to write up an annotated solution in Forth, I’d  
> love to read that. :^)  
> There is a writeup of the first quiz in Haskell here -  
> [http://mult.ifario.us/articles/2006/10/25/solitaire-cipher-in-haskell](http://mult.ifario.us/articles/2006/10/25/solitaire-cipher-in-haskell)

---

<div class="post-metadata">

**Author:** ![jimb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@jimb](https://www.ruby-forum.com/u/jimb)\
**Post date:** [October 27, 2006, 6:23pm UTC](https://www.ruby-forum.com/t/ot-ruby-quiz-in-haskell/73830/8 "2006-10-27T18:23:59Z")

</div>

On Oct 27, 2006, at 6:04 AM, Jim B. wrote:

> Hello Ruby T.ers, some people are trying out the Ruby Q.  
> puzzles in  
> Haskell and collecting the results here -  
> [Haskell Quiz - HaskellWiki](http://www.haskell.org/haskellwiki/Haskell_Quiz) .

I’ve added a link to this in the Ruby Q. FAQ.

James Edward G. II

---

<div class="post-metadata">

**Author:** ![jimb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f4b2a3/32.png) [@jimb](https://www.ruby-forum.com/u/jimb)\
**Post date:** [October 28, 2006, 12:30am UTC](https://www.ruby-forum.com/t/ot-ruby-quiz-in-haskell/73830/9 "2006-10-28T00:30:42Z")

</div>

On 06-10-27, at 08:53, Louis J Scoras wrote:

> What other languages have folks tried these in?  
> I’ve done a few in Io and my own little toy language.
