@dibblego - would your Scala method impl of `def isInt(x: String): Boolean` include `isInstanceOf[Int]` or regex to not break parametricity?
-
-
-
Replying to @dibblego
This http://stackoverflow.com/questions/37997809/scala-filter-only-digits … made me think of your parametricity talk. So that's why I had asked the question
1 reply 0 retweets 0 likes
Replying to @Gentmen
The user wants to fix the type, not the function, which is difficult to determine. List[Either[(String, Int), (Int, String)]]
1:13 PM - 23 Jun 2016
0 replies
0 retweets
0 likes
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.