lean2/tests/lean/implicit5.lean
Leonardo de Moura 4ba097a141 feat(frontends/lean): use lowercase commands, replace 'endscope' and 'endnamespace' with 'end'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 13:06:36 -08:00

12 lines
315 B
Text

import Int.
import Real.
variable f {A : Type} (a1 a2 : A) : A
variable g : Int -> Int -> Int
variable h : Int -> Int -> Real -> Int
variable p {A B : Type} (a1 a2 : A) (b : B) : A
infix ++ : f
infix ++ : g
infix ++ : h
infix ++ : p
variable p2 {A B : Type} (a1 a2 : A) (b : B) {C : Type} (c : C) : A
infix ++ : p2