Skip to content

Commit b5d4246

Browse files
authored
Functor.md: contradicting case removed (#73)
* Functor.md: contradicting case removed * issue 71: comment of @ehamberg considered
1 parent f03a03e commit b5d4246

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Tutorial/Functor.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,9 @@ CSVField Email where
728728
729729
isPasswordChar : Char -> Bool
730730
isPasswordChar ' ' = True
731+
-- please note that isSpace holds as well for other characaters than ' '
732+
-- e.g. for non-breaking space: isSpace '\160' = True
733+
-- but only ' ' shall be llowed in passwords
731734
isPasswordChar c = not (isControl c) && not (isSpace c)
732735
733736
isValidPassword : String -> Bool

0 commit comments

Comments
 (0)