| Copyright | (c) Murdoch J. Gabbay 2020 |
|---|---|
| License | GPL-3 |
| Maintainer | murdoch.gabbay@gmail.com |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Language.Nominal.Examples.Graph
Description
A development file to build on Andrey Mokhov's algebraic-graphs library. THIS FILE IS UNDER DEVELOPMENT Connect should be implemented such that only free vertices are connected; not bound ones. Overlay should be capture-avoiding (which should be automatic).
Documentation
A datatype of graphs with binding.
Perhaps should parameterise over atom type (see KAtom). For now, I use the default atom type Tom.
Constructors
| Empty | |
| Vertex a | |
| Overlay (Graph a) (Graph a) | |
| Connect (Graph a) (Graph a) | |
| Restrict (Nom (Graph a)) |