mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-19 10:51:35 +03:00
13 lines
156 B
Idris
13 lines
156 B
Idris
|
module recordname
|
||
|
|
||
|
namespace Foo
|
||
|
export
|
||
|
record Name where
|
||
|
constructor MkName
|
||
|
foo : Int
|
||
|
|
||
|
x : Name -> Int
|
||
|
x = foo
|
||
|
|
||
|
test : recordname.Foo.Name
|