Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
A Binding
represents an identifier that refers to some other Path
.
>>>
:set -XOverloadedStrings
>>>
"inherit (foo.bar) abc" :: Binding
Bind (Identifier "abc") (Path [Identifier "foo",Identifier "bar",Identifier "abc"])
\b -> Just (b :: Binding) == parseM "Binding" (prettyShow b)