mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
4151fdbbf3
to return more descriptive error messages, programmer defined error messages, Maybe wrapped results and default values. These functions can be used to reduce the number of unsafe pattern matches in your code. WWW: http://www-users.cs.york.ac.uk/~ndm/safe/ PR: ports/142144 Submitted by: Jacula Modyun <jacula(at)gmail.com>
9 lines
337 B
Plaintext
9 lines
337 B
Plaintext
Partial functions from the Haskell base library, such as head and !!, modified
|
|
to return more descriptive error messages, programmer defined error messages,
|
|
Maybe wrapped results and default values.
|
|
|
|
These functions can be used to reduce the number of unsafe pattern matches in
|
|
your code.
|
|
|
|
WWW: http://www-users.cs.york.ac.uk/~ndm/safe/
|