*Mazes for Programmers* in Haskell

*Mazes for Programmers* in Haskell

I am just beginning to learn Haskell, and refresh my programming knowledge in general (4 years since an introductory course in Python). Lately, I’ve been working through the exercises in the book Mazes for Programmers just to get myself going with something fun and easy.

I have no problem thinking in a procedural/imperative paradigm, since I can usually break problems into discrete steps and write the steps out without a problem, and that's usually all you have to worry about in an imperative language.

However, I’m struggling to understand what problem-solving process works with Haskell (since it's not a matter of simply writing instructions).

In any case, while I’ve been loving everything I've been learning about Haskell so far, I really enjoy Mazes for Programmers as a learning tool, since the code gives you actual things that you can visually manipulate (a bit like Python's turtles). I think seeing analogous code written in Haskell could help me understand Haskell better, as well.

Does anyone know of any Haskell ports of the Ruby code in Mazes for Programmers? Something I can follow line-by-line and see how they compare and contrast to the Ruby versions in the book?

Submitted June 30, 2017 at 11:26PM by chsmio
via reddit http://ift.tt/2sa8HdW

Small application for tracking freeCodeCamp.com progress of multiple users.

Small application for tracking freeCodeCamp.com progress of multiple users.

I put together my first web application that is fully Clojure and ClojureScript. I would love any feedback, and maybe it can be encouragement for others.


The process of building it was extremely enjoyable. I loved not having to do as much context switching. Because of the philosophy similarities, it was easier to use both than node and js.

Submitted June 30, 2017 at 10:23PM by hackeryarn
via reddit http://ift.tt/2txOFOY

redoculous: an async template library in the style of PHP.

redoculous: an async template library in the style of PHP.

I was trying to find a tool that would let me easily write autogenerated markdown documentation, but I couldn't find a template library that would let me mix async code with markdown in one file. So made this. http://ift.tt/2sZb5ag

The original intent was just for generating markdown, but it works for any text file. I'm still working on it, so I'd appreciate any feedback you have! Hope some of you can find it useful.

P.S. there's a working example here: http://ift.tt/2suVNGG

Submitted June 30, 2017 at 11:00PM by illucidation
via reddit http://ift.tt/2t9di1o