Skip to content

Commit

Permalink
Functor.md: contradicting case removed (#73)
Browse files Browse the repository at this point in the history
* Functor.md: contradicting case removed

* issue 71: comment of @ehamberg considered
  • Loading branch information
kaelte authored Jan 23, 2025
1 parent f03a03e commit b5d4246
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Tutorial/Functor.md
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,9 @@ CSVField Email where
isPasswordChar : Char -> Bool
isPasswordChar ' ' = True
-- please note that isSpace holds as well for other characaters than ' '
-- e.g. for non-breaking space: isSpace '\160' = True
-- but only ' ' shall be llowed in passwords
isPasswordChar c = not (isControl c) && not (isSpace c)
isValidPassword : String -> Bool
Expand Down

0 comments on commit b5d4246

Please sign in to comment.