News for hackers. Stuff that matters.
Re:Functional Programming Patterns by ejenk on Sunday November 30, 2014 @12:51PM (#8677439)
Surely your monoid example should be a Sigma type (`exists`), not a Pi type (`forall`), since a monoid is a specification of data for a single type A, not for all types A. Indeed, the empty type has no monoid structure, so the Pi type you wrote down is necessarily empty.
Re:Functional Programming Patterns by tel on Sunday November 30, 2014 @02:11PM (#8677722)
Oh, yup. Surely indeed! I need my checker clearly