diff options
author | Greg Brown <greg.brown01@ed.ac.uk> | 2024-02-01 19:25:13 +0000 |
---|---|---|
committer | Greg Brown <greg.brown01@ed.ac.uk> | 2024-02-02 13:33:09 +0000 |
commit | 4b9b6b0211f6fb5691d67ca77ac09be888e569b7 (patch) | |
tree | 33451a63c169a06d0fee67393d0bf081f7e0b1e3 /src/SOAS.idr | |
parent | fa4de437fa3861189b506538f6ca4a39771ecbbb (diff) |
Define generic syntax construction.main
Whilst it works (see `Example`), a generated data type would probably
work better.
Diffstat (limited to 'src/SOAS.idr')
-rw-r--r-- | src/SOAS.idr | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/SOAS.idr b/src/SOAS.idr index 892f039..9eb7c4c 100644 --- a/src/SOAS.idr +++ b/src/SOAS.idr @@ -5,6 +5,7 @@ import public SOAS.Context import public SOAS.Family import public SOAS.Strength import public SOAS.Structure +import public SOAS.Syntax import public SOAS.Theory import public SOAS.Var @@ -88,7 +89,3 @@ import public SOAS.Var -- prod : (signatures : List $ type.SortedFunctor) -> -- type.SortedFunctor -- (prod signatures) x ty ctx = All (\sig => sig x ty ctx) signatures - -public export -bind : (tys : type.Ctx) -> type.SortedFunctor -bind tys = (<<< tys) |