@@ -22,20 +22,20 @@ instance (Prelude.Show a) => Prelude.Show (Data a) where
2222test3 = \_ -> show (Data "testing")
2323
2424instance Prelude.Monad Data where
25− ret = Data
25+ return = Data
2626 (>>=) (Data a) f = f a
2727
2828data Maybe a = Nothing | Just a
2929
3030instance Prelude.Monad Maybe where
31− ret = Just
31+ return = Just
3232 (>>=) Nothing _ = Nothing
3333 (>>=) (Just a) f = f a
3434
3535test4 :: forall a m. (Monad m) => a -> m Number
36−test4 = \_ -> ret 1
36+test4 = \_ -> return 1
3737
38−test5 = \_ -> Just 1 >>= \n -> ret (n + 1)
38+test5 = \_ -> Just 1 >>= \n -> return (n + 1)
3939
4040module TypeClasses2 where
4141
@@ -49,7 +49,7 @@ instance (Prelude.Show a) => Prelude.Show [a] where
4949test6 = \_ -> show ["testing"]
5050
5151instance Prelude.Monad (->) r where
52− ret a r = a
52+ return a r = a
5353 (>>=) f g r = g (f r) r
5454
5555ask r = r
@@ -58,7 +58,7 @@ runReader r f = f r
5858
5959test9 _ = runReader 0 $ do
6060 n <- ask
61− ret $ n + 1
61+ return $ n + 1
6262
6363module Main where
6464