Copyright | (c) Nicolás Rodríguez 2021 |
---|---|
License | GPL-3 |
Maintainer | Nicolás Rodríguez |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe |
Language | Haskell2010 |
Type level search for a key and a value type in a type tree.
Documentation
type family Member (x :: Nat) (t :: Tree) (t' :: Tree) :: Bool where ... Source #
Type family to test wether there is a node in the tree t
with key x
.
| It assumes that t
is a BST in order to perform the search.