Talk:Hask

From HaskellWiki
Revision as of 17:54, 3 December 2019 by Kw (talk | contribs) (→‎The category actually does not exist)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The category actually does not exist

See http://math.andrej.com/2016/08/06/hask-is-not-a-category/

It would be better to clearly define Hask, and either fix it to be a category, or admit it is not a category with a clear explanation of what is broken and what can be saved. (Formalize fast-and-loose reasoning.)


Looks like some of the information in the table is wrong. u2 _ = () is of type Empty -> (), not Empty -> a. As it stands, we don't have a real failure condition for the terminal object and arrow if you accept undefined :: Empty.