mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-30 15:13:37 +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
|