cakeml icon indicating copy to clipboard operation
cakeml copied to clipboard

Cleanup after removal of labels (Pancake)

Open mktnk3 opened this issue 4 months ago • 0 comments

The labels are now removed from the Pancake syntax, but there are still some residual syntactic redundancy that we should clean up. Namely,

Datatype:
  word_lab = Word ('a word)
  (* labels were defined here *)
End

Datatype:
  v = Val ('a word_lab)
    | Struct (v list)
End

Overload ValWord  = “\w. Val (Word w)”

should be just:

Datatype:
  v = Val ('a word)
    | Struct (v list)
End

mktnk3 avatar Aug 27 '25 12:08 mktnk3