News for hackers. Stuff that matters.
Re:Why Use F#? by matt_kantor on Wednesday December 12, 2018 @11:19PM (#18669829)
Is F#'s type system sophisticated enough to express type classes, higher-kinded types, and/or existential types? Scala's implicits and related language features can go a long way down those roads, but I know very little about F# other than "it's like Scala but on the CLR" and am curious what the story is over there.
Re:Why Use F#? by kyllo on Thursday December 13, 2018 @01:46AM (#18670343)
F# doesn't support any of those features you listed. If you want ad-hoc polymorphism there are a few hacks available: https://withouttheloop.com/articles/2014-10-21-fsharp-adhoc-...
Re:Why Use F#? by kitten_mittens_ on Thursday December 13, 2018 @12:17AM (#18670006)
F# does not have HKT, and it shows in the compile times.