mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 08:11:45 +03:00
a972778eab
They don't all pass yet, for minor reasons. Coming shortly... Unfortunately the startup overhead for chez is really noticeable here!
23 lines
346 B
Idris
23 lines
346 B
Idris
data Things : Type where
|
|
MkThings : a -> a -> Things
|
|
|
|
namespace X
|
|
public export
|
|
data Test = A | B
|
|
|
|
namespace Y
|
|
public export
|
|
data TestType = Test | Baz
|
|
|
|
test1 : Things
|
|
test1 = MkThings Baz Test
|
|
|
|
test2 : Things
|
|
test2 = MkThings Int Test
|
|
|
|
test3 : Integer -> Things
|
|
test3 x = MkThings Test Baz
|
|
|
|
test4 : Things
|
|
test4 = MkThings Test Int
|