mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 14:28:08 +03:00
5efec1a9d3
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`
8 lines
165 B
Haskell
8 lines
165 B
Haskell
module Core.Recursor where
|
|
|
|
import Base
|
|
import Core.Recursor.RMap qualified as RMap
|
|
|
|
allTests :: TestTree
|
|
allTests = testGroup "JuvixCore recursors" [RMap.allTests]
|