top | item 40133769

(no title)

jbjohns | 1 year ago

> Leftpad is an entirely pure, non-diverging function. And I should be able to ask my language to enforce that, ideally with trivial code. Maybe even by default.

I think you can do this in Idris with "total" functions.

discuss

order

No comments yet.