on d66da21 help sign in
all commits
90eb6a2Library changes: Please read details below!Edwin Brady dcd4007Normalise pattern types when typecheckingEdwin Brady 3c32b65Whitespace cleanup.George Leontiev 93992c3Compile Nat as Int, (and plus/mult/fromInteger)Edwin Brady 1d4d226Optimise datatypes with one constructor and one argument No need to pack them up (because we're strict!) so just treat them as a newtype would be in Haskell.Edwin Brady a807a34Remove the unused arg from lookup functionsDavid Christiansen 8624d06Fix collapsibility bugEdwin Brady 3a27fdeArguments under type constructors are not forceable!Edwin Brady fb2b17dAdd collapsing optimisation and more aggressive erasureEdwin Brady 489ea6fPass pattern variable names to match compilerEdwin Brady 1112fe4Coverage checker Not quite complete - a bug (which I know how to fix) makes some things appear not covering even though they are. Results currently used only for pruning case trees in compiled code. There is a small performance penalty - coverage checking can be disable with --nocoverageEdwin Brady baaba44Run-time forcing optimisationEdwin Brady 02881b1Implemented forcing optimisation Constructor arguments which are inferrable from the indices in the constructor type are erased both at compile-time and run-timeEdwin Brady