In Section 3.4's explanation of do notation, the Haskell examples show the use of do notation (snippet 22) and the binds and return that this desugars to (snippet 23).
In the Scala edition these snippets are identical. Snippet 23 should be the desugared version of snippet 22.
In Section 3.4's explanation of do notation, the Haskell examples show the use of do notation (snippet 22) and the binds and return that this desugars to (snippet 23).
In the Scala edition these snippets are identical. Snippet 23 should be the desugared version of snippet 22.