Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
kindSize ∷ Kind a → Size Source #
Count the number of AST nodes in a kind.
>>>
kindSize $ Type ()
Size {unSize = 1}>>>
kindSize $ KindArrow () (KindArrow () (Type ()) (Type ())) (Type ())
Size {unSize = 5}
typeSize ∷ ∀ tyname (uni ∷ Type → Type) ann. Type tyname uni ann → Size Source #
Count the number of AST nodes in a type.
tyVarDeclSize ∷ TyVarDecl tyname ann → Size Source #