mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 18:51:40 +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
|