I challenge any moral (fast/loose) reasoner to give a #scala impl of [A](List[A] => Int) that is not a constant, nor a function of length.
@AlainODea Related. Write a function of type [A](A => String) that does not return a constant (ignores its argument). Impossible.
-
-
@dibblego show in Haskell is moral because Show is in the type signature as a context. Scala makes the minimal context (Any) far too broad.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.