[Haskell-cafe] Is "take" behaving correctly?

Don Stewart dons at galois.com
Tue Sep 11 19:49:01 EDT 2007


prstanley:
>    Let me get this right, are you saying it's unsafe when it returns an
>    error?

Partial functions may crash your program, so that's unsafe by some definitions, yep.
We have tools that analyse programs for such bugs, in fact (Neil's `catch' program).

-- Don


More information about the Haskell-Cafe mailing list