4
votes
1answer
134 views

Hangman: Is this small Haskell game clean and idiomatic Haskell code?

I hope this question isn't too general. I've been learning Haskell, and a while ago I created this Hangman game. I've been working on using a library for terminal output, so no more hardcoded escape ...
2
votes
1answer
112 views

How can my code for computing a Discrete Cosine Transform matrix be improved?

I'm learning Haskell and decided that my first program should also help me finish my homework (because if I'm going to procrastinate, why not make it worthwhile?). I needed to work with discrete ...
4
votes
1answer
242 views

Longest non-decreasing subsequence, in Haskell

OK, so I recently posted this solution in Python to the longest non-decreasing subsequence problem, and cleaned it up with some expert advice. As a next step, I wanted to translate this solution into ...
9
votes
1answer
367 views

Converting simple markup to HTML

This is going to be rather long and generic, so apologies in advance. I've been reading a lot about Haskell lately, but I've never really programmed anything with it beyond simple experiments in ...