diff --git a/tutorial.md b/tutorial.md index d291ec6..908be8a 100644 --- a/tutorial.md +++ b/tutorial.md @@ -2779,13 +2779,13 @@ of a monadic context that need to hold a reference to themselves. ```haskell {-# LANGUAGE RecursiveDo #-} -justOnes :: [Int] +justOnes :: Maybe [Int] justOnes = do rec xs <- Just (1:xs) return (map negate xs) ``` -See: [Recursive Do Notation](https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/syntax-extns.html#recursive-do-notation) +See: [Recursive Do Notation](https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#the-recursive-do-notation) Applicative Do --------------