OCaml pattern-match syntax error without double semi colon

前端 未结 0 469
暖寄归人
暖寄归人 2020-12-16 14:11

I am quite new to OCaml, so apologies if this is a silly question. I have this OCaml file:

type tree =
  | Node of int * tree * tree
  | Leaf of int

let t =          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题