deciduously / tictactoe-hs

TicTacToe in Haskell, with accompanying blogpost
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Literate Haskell #3

Open deciduously opened 6 years ago

deciduously commented 6 years ago

It might be very very simple, you already have all the code in there

BonfaceKilz commented 5 years ago

Here's an example of haskell literate programming using Emac's org-mode: literate programming in org-mode. I would recommend viewing this gist in raw form because I have used one of org-mode's feature's called tangling.

Here's a useful reference: https://orgmode.org/manual/Working-with-source-code.html

deciduously commented 5 years ago

Thanks so much! That's a hugely helpful example. Org mode has been something on my "to-learn" list for far too long already.

BonfaceKilz commented 5 years ago

I'll add the org[the one with the tangled code] file to the repo and create a pr later during the week, then you could close the issue.

deciduously commented 5 years ago

Sounds good - appreciate your effort!

I'd still like to take the time to learn how to do it myself but I haven't had much free time lately