tag:blogger.com,1999:blog-5531553525163261182.post7331980204120090814..comments2013-06-17T18:28:28.107+02:00Comments on Ska La: How Monad Transformer saved my timeNoootsabhttp://www.blogger.com/profile/07479335886992076807noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5531553525163261182.post-52452685206874414112012-07-20T10:44:23.606+02:002012-07-20T10:44:23.606+02:00Man ... you're right!
I oopsed again ^^Man ... you're right!<br />I oopsed again ^^Noootsabhttps://www.blogger.com/profile/07479335886992076807noreply@blogger.comtag:blogger.com,1999:blog-5531553525163261182.post-63976398480741837482012-07-19T23:34:51.371+02:002012-07-19T23:34:51.371+02:00hi,
shouldn't the final result be
for {
ns ...hi,<br />shouldn't the final result be<br /><br />for {<br /> ns <- getNode(s); //get source<br /> nt <- getNode(t); //get target<br /> l <- link(ns, nt); //link them<br />} yield l //yield the link<br /><br />ie ns and nt in the for rather than n and s.Channing Waltonhttps://www.blogger.com/profile/12749648550096851903noreply@blogger.comtag:blogger.com,1999:blog-5531553525163261182.post-49162806581276356582012-06-12T11:28:23.584+02:002012-06-12T11:28:23.584+02:00You might have to pimp a bit to have the non Valid...You might have to pimp a bit to have the non ValidationT being returned, with an implicit conversion to ValidationT (in case such conversion is possible...)Noootsabhttps://www.blogger.com/profile/07479335886992076807noreply@blogger.comtag:blogger.com,1999:blog-5531553525163261182.post-54011237037120527322012-06-12T11:18:25.898+02:002012-06-12T11:18:25.898+02:00On my project in Atlassian, we're using Valida...On my project in Atlassian, we're using ValidationT from Scalaz7.<br /><br />Works well except not all functions return ValidationT. There's a lot of lifting and transforming things to ValidationT which makes the for comprehensions a bit ugly. We still need to come up with a bit of sugar to clean that up.Brian McKennahttps://www.blogger.com/profile/10725680599856600394noreply@blogger.com