I suggest we ...

Allow to define types at expression scopes

The suggestion is to allow "type X = ..." in an expression, e.g.

let f () =
type X = A | B
let x = (A,A)
let y = (B,B)
if (x=y) then true else false

36 votes
Vote
Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
You have left! (?) (thinking…)
Gustavo Guerra shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

10 comments

Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
Submitting...

F# Language

Feedback and Knowledge Base