HOL icon indicating copy to clipboard operation
HOL copied to clipboard

Allow record types under constructors in Datatype

Open mn200 opened this issue 9 years ago • 0 comments

E.g.,

Datatype`foo = C <| fld1 : num ; fld2 : foo |> | D num string | E foo num`

The machinery would have to define an auxiliary type, turning the above into

Datatype`foo = C somercd | D num string | E foo num ; somercd = <| fld1 : num ; fld2 : foo |>`


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

mn200 avatar Jun 03 '16 12:06 mn200