hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit b552be48aa7d0e090c27abfd5ddb16c0a50e4698
parent 63fc7d8b7c9dfc499ff336b762210d6abf87f97b
Author: Sebastian <sebastian@sebsite.pw>
Date:   Fri,  4 Mar 2022 18:54:16 -0500

module: add docs for strerror

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mhare/module/types.ha | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/hare/module/types.ha b/hare/module/types.ha @@ -68,6 +68,7 @@ export type error = !( module_not_found | ambiguous); +// Returns a human-friendly representation of an error. export fn strerror(err: error) const str = { // Should be more than enough for PATH_MAX * 2 static let buf: [4096]u8 = [0...];