[ create a new paste ] login | about

Link: http://codepad.org/zPbb8qJm    [ raw code | fork ]

ranha - OCaml, pasted on Sep 12:
1
2
3
4
5
6
7
8
9
10
11
Inductive Unit : Set := unit : Unit.

Inductive Ty : Unit -> Set := ty (u : Unit) : Ty u.

Definition f (arg : Ty unit) :=
  match arg with
    | ty unit => unit
    | _ => unit
  end.

Axiom dummy : Ty unit. (* for f's wild_pattern case *)


Create a new paste based on this one


Comments: