News for hackers. Stuff that matters.
Re:Zig's Comptime Is Bonkers Good by James_K on Tuesday January 07, 2025 @06:03PM (#42628775)
Haskell has quite a few partial functions in the standard library if I recall. Bog standard (!!), head, and tail for lists; fromJust to unwrap Maybes; and even some more interesting examples like "all" which mightn't work on infinite lists. Indeed any Turing-complete language includes partial functions of that final variety.

There are no comments on this comment yet.