> 1. I have a chapter on `Maybe` that treats it as a type with several > idioms around it. Does the chapter make sense to you more experienced Elm > programmers? >
In case you haven't heard me say it, *Maybe is a data structure*. Things like map and andThen make a lot of sense in that context. Now it's not a bad thing to look at those patterns in a simple example, before getting into things like JSON decoders and random generators that don't actually contain the value they're going to produce when you map over them. But -- and it sounds like this is the plan -- make sure you present it as, "these are examples of patterns that we'll see recur for more complex types", not "this is what you need to know to understand Maybe". -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
