mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +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
|