Changeset 8710 for src/Pugs/Prim/Numeric.hs
- Timestamp:
- 01/16/06 20:33:24 (3 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Prim/Numeric.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Prim/Numeric.hs
r8055 r8710 55 55 op2Exp :: Val -> Val -> Eval Val 56 56 op2Exp x y = do 57 num1 <- fromVal =<< fromVal' x 58 if num1 == (1 :: VNum) then return (VInt 1) else do 57 59 num2 <- fromVal =<< fromVal' y 58 60 case reverse $ show (num2 :: VNum) of
