Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalised unification for FreeScoped terms #4

Merged
merged 21 commits into from
Nov 5, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove offending duplicate instance
  • Loading branch information
fizruk committed Nov 5, 2021
commit 3b787bd9bea1b7ec94fef3a397dabda9e3331c8d
3 changes: 0 additions & 3 deletions rzk/src/Rzk/Free/Syntax/Example/TTSC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -659,9 +659,6 @@ unifyTerms'_ t1 t2 = fst (head (unifyTerms' t1 t2))

-- ** Pretty-printing

instance Pretty Rzk.Var where
pretty (Rzk.Var x) = pretty x

instance (Pretty n, Pretty b) => Pretty (Name.Name n b) where
pretty (Name.Name Nothing b) = pretty b
pretty (Name.Name (Just name) b) = "<" <> pretty name <> " " <> pretty b <> ">"
Expand Down