@dibblego Why is that?
Re: "scala> def coflatMap[A, B](a: List[A])(f: List[A] => B): List[B] = (a.tails map f).toList" -- just learned that this is subtly wrong!
-
-
-
@bootcode List#tails puts Nil on the end, where the appropriate comonad does not.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.