Literal types?
#13541
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've learning F# for some days and one of the first things i found coming from Typescript and Scala context is that i could not find a way to declare a literal type
Literal types in typescript, source:
Scala also supports literal types, source
Could that be possible on F#, i understand that F# is limited by .NET bytecode and/or metadata, in the case of typescript all type metadata is erased, Scala also erase some types.
Beta Was this translation helpful? Give feedback.
All reactions