hare

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

commit 0947d632d56874a111d16f1013b79c2282c27f17
parent 713001b4f7a02ab82f7851ea9b8b24cf91c4f0c2
Author: Bor Grošelj Simić <bgs@turminal.net>
Date:   Fri,  8 Apr 2022 02:37:50 +0200

fix ascii::isspace docstring

Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>

Diffstat:
Mascii/ctype.ha | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ascii/ctype.ha b/ascii/ctype.ha @@ -52,7 +52,8 @@ export fn isdigit(c: rune) bool = export fn isxdigit(c: rune) bool = if (!isascii(c)) false else cclass[c: u32]&X > 0; -// Returns true if an ASCII character is a space. +// Returns true if an ASCII character is a white-space character - +// one of '\f', '\n', '\r', '\t', '\v', ' '. export fn isspace(c: rune) bool = if (!isascii(c)) false else cclass[c: u32]&S > 0;