cяу

Oct. 21st, 2016 06:24 pm
juan_gandhi: (VP)
Что у хаскельщиков есть пять функций Bool×X → Maybe X.

http://nponeccop.livejournal.com/514644.html

Ау, бесплатные теоремы!
juan_gandhi: (VP)
http://math.andrej.com/2016/08/06/hask-is-not-a-category/

"This points much more towards a very poorly evolved pseudo-mathematical culture surrounding modern day programming language usage and design. I am assured that the biggest advocates of “haskell being a well-designed language because well … category theory and stuff” are entirely disjoint from the set of people who actually have spent far too much of their lives studying category theory."

And more, from http://stackoverflow.com/questions/12687392/why-is-seq-bad

"monads fail to satisfy monad laws with seq and undefined. And since undefined cannot be avoided in a Turing-complete language, the one to blame is seq."

From http://stackoverflow.com/questions/12617664/a-simple-example-showing-that-io-doesnt-satisfy-the-monad-laws/12620418#12620418

"All monads in Haskell are only monads if you exclude the weird seq combinator. This is also true for IO."
juan_gandhi: (VP)
By typeclass they mean a (possibly multi-argument) functor on a discrete subcategory of Hask; by functor they mean a (possibly multi-argument) covariant functor on a subcategory of Hask.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

August 2025

S M T W T F S
      12
3456789
10 11 12 13141516
171819 20212223
24252627282930
31      

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 22nd, 2025 01:35 am
Powered by Dreamwidth Studios