paf31 / purescript-book

Sources for the PureScript book
454 stars 370 forks source link

`return`? #106

Closed craigdallimore closed 7 years ago

craigdallimore commented 7 years ago

I'm looking at chapter 12 and I noticed the use of a return keyword:

Left err -> return $ Left err

Should that be pure?

paf31 commented 7 years ago

Fixed, thanks!