Idris2/tests/idris2/reg010/Recordname.idr

13 lines
156 B
Idris
Raw Normal View History

module Recordname
namespace Foo
export
record Name where
constructor MkName
foo : Int
x : Name -> Int
x = foo
test : Recordname.Foo.Name