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!
11 lines
208 B
Idris
11 lines
208 B
Idris
module Main
|
|
|
|
-- Using :di we can see the internal structure. MkFoo should be a newtype,
|
|
-- MkBar not
|
|
data Foo : Type where
|
|
MkFoo : String -> Foo
|
|
|
|
data Bar : Type where
|
|
[noNewtype]
|
|
MkBar : String -> Bar
|