Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
track spec change
  • Loading branch information
coke committed May 10, 2013
1 parent 371d836 commit 5a99ff9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pugs/src/Pugs/Prim.hs
Expand Up @@ -136,7 +136,7 @@ op1 "lc" = op1Cast (VStr . map toLower)
op1 "lcfirst" = op1StrFirst toLower
op1 "uc" = op1Cast (VStr . map toUpper)
op1 "tc" = op1StrFirst toUpper
op1 "capitalize" = op1Cast $ VStr . (mapEachWord capitalizeWord)
op1 "wordcase" = op1Cast $ VStr . (mapEachWord capitalizeWord)
where
mapEachWord _ [] = []
mapEachWord f str@(c:cs)
Expand Down Expand Up @@ -2000,7 +2000,7 @@ initSyms = seq (length syms) $ do
\\n Str pre lcfirst safe (Str)\
\\n Str pre uc safe (Str)\
\\n Str pre tc safe (Str)\
\\n Str pre capitalize safe (Str)\
\\n Str pre wordcase safe (Str)\
\\n Str pre crypt safe (Str, Str)\
\\n Str post ++ safe (rw!Str)\
\\n Str post -- safe (rw!Str)\
Expand Down

0 comments on commit 5a99ff9

Please sign in to comment.