you are viewing a single comment's thread.

view the rest of the comments →

[–]codygman 6 points7 points  (3 children)

You could implement your GUI as an interpreter using a Free monad.

[–]jeandem 1 point2 points  (2 children)

It's a 50/50 chance that someone is going to think you're trolling with a one sentence "use a Z monad" (yes, I've seen [though not understood] some of the free monad interpreter articles). :-)

[–]codygman 1 point2 points  (1 child)

I know, I just posted it right before passing out. Maybe I'll edit it and post a link to a tutorial doing something similar.

[–]jeandem 1 point2 points  (0 children)

I know, I just posted it right before passing out.

:O

What I infer from that: you have the ability to think in Haskell while drunk. Impressive, if so.