News for hackers. Stuff that matters.
Re:I learned Haskell in just 15 years by mrkeen on Monday June 17, 2024 @02:40PM (#40709402)
F# has "generics" just like Python and PHP now "have types".

It's not a yes/no feature.

Re:I learned Haskell in just 15 years by neonsunset on Monday June 17, 2024 @03:22PM (#40709923)
Give F# a try. It has, and always had, true generics.

https://learn.microsoft.com/en-us/dotnet/fsharp/language-ref...

Re:I learned Haskell in just 15 years by mrkeen on Tuesday June 18, 2024 @02:57AM (#40714831)
> It's not a yes/no feature.

FTFM: It's not a true/false feature.

Re:I learned Haskell in just 15 years by neonsunset on Tuesday June 18, 2024 @04:16AM (#40715291)
Alright. Humor me, what is the issue with F# generics as compared to other languages with generics? Which implementation (that is productively useful) is a "true" one?