Idris2/tests/idris2/basic039/expected
Edwin Brady e8eab6d763 Flag records and option types
This saves a small amount of allocation, especially since we never
actually look at the tag in a record. We can use null? for Nothing just
like for Nil.
2021-05-09 16:49:59 +01:00

23 lines
540 B
Plaintext

1/1: Building Main (Main.idr)
Main> Main.MkFoo ==> DataCon 0 1 (newtype by (False, 0))
RigW
Erasable args: []
Detaggable arg types: []
Specialise args: []
Inferrable args: []
Compiled: Constructor tag Just 0 arity 1 (newtype by 0)
Refers to: []
Refers to (runtime): []
Flags: [contype [record]]
Main> Main.MkBar ==> DataCon 0 1
RigW
Erasable args: []
Detaggable arg types: []
Specialise args: []
Inferrable args: []
Compiled: Constructor tag Just 0 arity 1
Refers to: []
Refers to (runtime): []
Flags: [contype [record]]
Main> Bye for now!