Skip to content

Commit

Permalink
Fix box chars to make the code more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
ageron committed Aug 26, 2024
1 parent c98bb62 commit da26ee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/practice/bob/.meta/Example.roc
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ isQuestion = \heyBob ->

isYelling = \heyBob ->
isLower = \c ->
c >= 97 && c <= 122
c >= 'a' && c <= 'z'
isUpper = \c ->
c >= 65 && c <= 90
c >= 'A' && c <= 'Z'
chars = Str.toUtf8 heyBob
(chars |> List.any isUpper) && !(chars |> List.any isLower)

Expand Down

0 comments on commit da26ee3

Please sign in to comment.