I can't answer your direction on Dick Wall's post, but to briefly comment 
on Scala for comprehensions:

- They desugar into map/flatMap and filter if you use the for filter.
- Martin Odersky himself explains for comprehensions including the desugar 
process in his part of the Reactive programming course on Coursera. You can 
watch the video lectures online for free and I believe still do the 
programming exercises and get automated scoring. They are quite fun.
- Scala's for comprehensions are extremely similar and almost surely 
inherited from Haskell's do notation. Haskell's "do" notation simply 
expands into flatMap aka bind aka "(>>=)" calls in Haskell for Monad types.

On Monday, June 9, 2014 7:29:11 AM UTC-5, Philip Durbin wrote:
>
> At around 24:45 at http://javaposse.com/java-posse-452 Dick said he's 
> been thinking of doing a blog post about desugaring Scala for 
> comprehensions. Any news on this? Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups "Java 
Posse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.

Reply via email to