2 value assignments in the where clause, but got an error til the spacing lined up?
a member of the type class Monad
Maybe is also a member of Monad
I always try to spell pizza with an ‘e’ instead of an ‘a’. lol
do-notation as a convenient way to perform IO actions in Haskell
It’s important to contextualize this statement with where and when. We are 1/2 half into a getting started book for Haskell. Is this a complete definition of do-notation ? Most certainly not. Is it the most complete, and comprehensive? not likely, remember I’m just getting started, a novice.
IO is a specialized parametrized type
It’s purpose is to isolate the messy outside world of Side Effects from the pure reasonable logic of our Haskell program.
do-notation allows us to write Haskell as if we weren’t stuck in IO, it’s context contains the side effects for us, and won’t let it escape.
Questions Left Open
I guess we could do an entire episode on Map ?
Next up Lazy I/O !!!!
Richard’s Elm Conf 2017, Teaching Elm to Beginners
FollowJavaScript to Elm
Jesse Tomchak
Podchaser is the ultimate destination for podcast data, search, and discovery. Learn More