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.
-
-
-
Replying to @dibblego
@dibblego I copied and pasted it from an Eclipse Scala worksheet where it compiled and ran. http://pastebin.com/M0t05vmX1 reply 0 retweets 0 likes -
Replying to @wbillingsley
@wbillingsley You used equals which violates parametricity and so is immoral.1 reply 0 retweets 0 likes -
Replying to @wbillingsley
@wbillingsley You rely on bottom values to make the case. This is immoral in the fast and loose reasoning sense. There is no "pedantically."1 reply 0 retweets 0 likes -
Replying to @dibblego
@dibblego if by “fast and loose” you mean http://dl.acm.org/citation.cfm?doid=1111037.1111056 … "morally correct" seems to refer to reasoning not program. ?1 reply 0 retweets 0 likes -
@wbillingsley You could tell the same lie in any turing complete system. Scala only matters in that it casually accepts the lie.
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.