News for hackers. Stuff that matters.
Re:Linear types make performance more predictable by gizmo686 on Tuesday March 14, 2017 @08:56PM (#13872987)
Haskell: avoid success at all costs.
Re:Linear types make performance more predictable by bitwize on Tuesday March 14, 2017 @10:24PM (#13873293)
Obviously the solution is to encode success into the type system, such that functions which increase the chance Haskell will become a mainstream programming language fail to type-check.
Re:Linear types make performance more predictable by Magnap on Wednesday March 15, 2017 @08:23AM (#13875578)
People keep saying this as if it were meant to be parsed "(avoid success) (at all costs)", but in fact it's supposed to be "avoid (success at all costs)", in other words "principles > popularity".
Re:Linear types make performance more predictable by dllthomas on Friday March 17, 2017 @03:33PM (#13897218)
I've always understood it to be, simultaneously, jokingly the former and seriously the latter.
Re:Linear types make performance more predictable by Ixiaus on Tuesday March 14, 2017 @09:18PM (#13873065)
Only if your program doesn't type-check ;)