Skip to content

Algorithms from Core.hs #3

@MonoidMusician

Description

@MonoidMusician

I have started converting most of the algorithms from Core.hs, but they need to be finished and verified.

  • shift and subst are important to get tested to ensure correctness, but I think I copied and converted them over fully.
  • normalizeWith needs to be completed in full, and tested, as it is one of the most important parts of Dhall. isNormalizedWith can be just derived from it for now, but should be updated with a real algorithm. Maybe they can be merged, returning Tuple Boolean (Lazy (Expr s a))
  • Related: I don’t understand boundedType and whether it applies to a strict implementation and if I actually need laziness somewhere. Actually implement boundedTypeG.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions