1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-13 19:49:20 +03:00
juvix/test/Core.hs
Łukasz Czajka 5efec1a9d3
The rmap recursor (#1893)
The `rmap` recursor allows to specify changes in binders while going
downward through a Core node. This should help in implementing
transformations on Core which need to add/remove/change binders.

* Depends on PR #1875 
* Adds unit tests for `rmap`
* Changes the `NatToInt` transformation to use `rmap`
2023-03-16 14:47:21 +01:00

13 lines
434 B
Haskell

module Core where
import Base
import Core.Asm qualified as Asm
import Core.Compile qualified as Compile
import Core.Eval qualified as Eval
import Core.Print qualified as Print
import Core.Recursor qualified as Rec
import Core.Transformation qualified as Transformation
allTests :: TestTree
allTests = testGroup "JuvixCore tests" [Rec.allTests, Eval.allTests, Print.allTests, Transformation.allTests, Asm.allTests, Compile.allTests]