summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-02Define generic syntax construction.mainGreg Brown
Whilst it works (see `Example`), a generated data type would probably work better.
2024-02-02Improve runtime behaviour of variables.Greg Brown
Operations like `weakl`, `weakr` and `copair` now treat variables as integers at runtime, instead of treating them as unary naturals. Reimplent `lift` in terms of `copair`.
2024-02-02Split monolithic file into modules.Greg Brown
Prove metatheory for generic initial algebras, instead of a clunky concrete one.
2024-01-26Merge pull request #2 from yellowsquid/mainOhad Kammar
Derive `MonoidStruct` for `Term`.
2024-01-26Derive substitution structure for terms.Greg Brown
2024-01-26Define `Strength` and `Map` with records.Greg Brown
This improves interface searching, so we no longer have to thread `str` and `functor` around manually. One disadvantage is that defining strengths and functoriality is now more verbose. As the plan is to derive these from the signature, this is not a huge problem from a UX perspective.
2024-01-26Provide a pointed coalgebra for variables.Greg Brown
2024-01-26Remove runtime dependency on the context.Greg Brown
2024-01-26Redefine `Nil` in terms of `(^)`.Greg Brown
This makes some later inference work better.
2024-01-19Merge pull request #1 from mjustus/mainOhad Kammar
Light refactoring
2024-01-17Light refactoringJustus Matthiesen
2024-01-17SnapshotOhad Kammar
2024-01-17Play aroundOhad Kammar
2024-01-17Refactor to support concrete names in supportOhad Kammar
2024-01-16initial commitOhad Kammar