5
submitted 8 months ago* (last edited 8 months ago) by Anbalsilfer@programming.dev to c/fsharp@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] porgamrer@programming.dev 1 points 8 months ago

That's true. You can kind of do it Scala style with an interfaces and some classes, but with two big drawbacks: no exhaustiveness checking, and no "object" syntax for defining singleton classes. They seem to be heading in that direction though.

this post was submitted on 18 Feb 2024
5 points (100.0% liked)

F Sharp

151 readers
5 users here now

founded 1 year ago
MODERATORS