#scala std. Lib feature missing No.1: type safe equals WHY do I need a library to use for that ?_?
-
-
Replying to @curious_reader
@curious_reader implicit class TSEqual[T](val t: T) extends AnyVal { def is(o: T)(implicit eq: math.Equiv[T]): Boolean = eq.equiv(t, o) }1 reply 0 retweets 1 like -
Replying to @viktorklang
@viktorklang why isn't that in std. Lib? I use it from#scalaz1 reply 0 retweets 0 likes -
Replying to @curious_reader
@curious_reader I am not in charge of the stdlib, but I think I proved you don't need a lib for it :-)1 reply 0 retweets 0 likes -
Replying to @viktorklang
@viktorklang ok my first complaint should have been: WHY do I need it to provides myself, either via definition OR library1 reply 0 retweets 0 likes -
Replying to @curious_reader
@curious_reader@viktorklang you need a library for completeness or a small one function library to get by.1 reply 0 retweets 0 likes -
Replying to @dibblego
@dibblego@viktorklang yes! I just can't see why type safe equals is NOT included in standard library.. :(1 reply 0 retweets 0 likes
@curious_reader @viktorklang you can say "why?" about almost all of the standard library. Just move on dude.
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.