Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Higher-kinded endofunctors

Name: Anonymous 2015-04-02 22:10

Higher-kinded type classes is what makes Haskell stand out above other functional languages for me. Things like endofunctors just cannot exist in virtually any other language.

Name: Anonymous 2015-04-04 16:11

>>32
Yes, the Cont monad can be used to implement GOTO (after all, undelimited continuations are a glorified GOTO). So what? Nobody in their right mind uses it.

>>34
Implementing tail-call optimizations is like implementing loops in an imperative language - it requires GOTO specifically so that any programmer using TCO/loops does not need to use GOTO. That's called "structured programming", you know - use correct high-level structures guaranteed to limit spaghetti instead of raw low-level GOTO that will make you shoot yourself in the foot.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List