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
rename .reverse to .flip -- #14
  • Loading branch information
coke committed Jul 18, 2012
1 parent b1f0f20 commit 6fa4f7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pugs/src/Pugs/Prim.hs
Expand Up @@ -210,7 +210,7 @@ op1 "sort" = \v -> do
int <- fromVal rv
return (int <= (0 :: Int))
retSeq sorted
op1 "Scalar::reverse" = \v -> do
op1 "Scalar::flip" = \v -> do
str <- fromVal v
return (VStr $ reverse str)
op1 "List::reverse" = \v -> do
Expand Down Expand Up @@ -1946,7 +1946,7 @@ initSyms = seq (length syms) $ do
\\n Hash pre hash safe (List)\
\\n List pre pair safe (List)\
\\n Scalar pre item safe (Scalar)\
\\n Str pre Scalar::reverse safe (Scalar)\
\\n Str pre Scalar::flip safe (Scalar)\
\\n Any pre List::reverse safe (Array)\
\\n Any pre reverse safe (Scalar, List)\
\\n Any pre reverse safe ()\
Expand Down
1 change: 1 addition & 0 deletions t/spectest.data
Expand Up @@ -369,6 +369,7 @@ S32-str/bool.t
S32-str/capitalize.t
S32-str/chomp.t
S32-str/chop.t
S32-str/flip.t
# S32-str/indent.t # NYI: Str.indent, infix:<x>
S32-str/index.t
S32-str/lcfirst.t
Expand Down

0 comments on commit 6fa4f7d

Please sign in to comment.