Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PrepData a = PrepData {
- treeDigest :: Digest
- treeHeight :: Int
- treeParm :: a
- type PrepFix a ki codes phi = HolesAnn (Const (PrepData a)) ki codes phi
- preprocess :: forall ki codes phi at. (DigestibleHO ki, DigestibleHO phi) => Holes ki codes phi at -> PrepFix () ki codes phi at
Documentation
We precompute the digest of a tree and its height and annotate our fixpoints with this data before going forward and computing a diff.
PrepData | |
|
preprocess :: forall ki codes phi at. (DigestibleHO ki, DigestibleHO phi) => Holes ki codes phi at -> PrepFix () ki codes phi at Source #
Here we receive an expression with holes an annotate it with hashes and height information at every node.