Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by Koshkin

3 hours ago

Is a widget a monad? Anyway, the examples in this tutorial are another proof that Haskell is the best imperative language!

2 comments

Koshkin

Reply

black_knight  1 hour ago

It really is a great imperative langue! The IO monad is basically a better C, if you know how to wield the FFI.

Vosporos  1 hour ago

Widget is not quite a Monad, in this instance it's a newtype around a pointer and classes that mimic GTK's own class hierarchy.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities