lean4-htt/tests/lean/unexpandersNamespaces.lean
2021-08-03 09:13:18 +02:00

11 lines
229 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace Foo
abbrev List (α : Type u) : Type := Unit
def List.nil {α : Type u} : List α := ()
def List.cons {α : Type u} (x : α) (xs : List α) : List α := ()
#check @List.nil Unit
#check @_root_.List.nil Unit
end Foo