On Mar 29, 12:27 pm, Kevin Wright <[email protected]> wrote: > > val widgets: Seq[Either[Exception, Widget]] = paths map { path => > exceptionToLeft { loadWidget(new File(path)) } > > } > > It's now completely obvious exactly what's going on...
Um, no. It isn't. Apart from anything, I must admit I find the presence of the words "left" and "right" in the code to describe the flow of execution (or flow of results being sent back from the execution) somewhat unsettling. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
