mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +03:00
c69f439c2d
* cleanup(Compiler/*) cleanup some messy/unclear code Also use primitives directly where possible, instead of idris's wrappers * Fix tests
4 lines
240 B
Plaintext
4 lines
240 B
Plaintext
Dumping case trees to Main.cases
|
|
Main.plus = [{arg:N}, {arg:N}]: (%case !{arg:N} [(%constcase 0 !{arg:N})] Just (%let {e:N} (-Integer [!{arg:N}, 1]) (+Integer [(Main.plus [!{e:N}, !{arg:N}]), 1])))
|
|
Main.main = [{ext:N}]: (Main.plus [1, 2])
|