Idris2/tests/idris2/basic039/expected
Edwin Brady 69ec410890 Add AllGuarded flag for functions
This is added to functions which are guaranteed to be productive. The
check is currently very conservative - just added when every clause is
constructor headed (or headed by an AllGuarded function), and there are
no other function applications.
2020-05-22 17:27:18 +01:00

23 lines
508 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: []
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: []
Main> Bye for now!