KeithMajhor
Joined 16 years ago
Karma
528
Submissions
191
Member since
Aug 1
Joined 16 years ago
var something = maybe(doesntCheckForSomething(value));
Should actually be:
var something = maybe(doesntCheckForSomething)(value);
If I'm wrong then I likely missed something so please let me know. Thanks.
Also, codata doesn't solve everything. You still can't filter infinite data. Filtering with \x -> x > 0 won't terminate for all infinite lists of numbers since [0 0 0 0 0 ...] is a potential case.