DeriveLib is imported by: Derive, DeriveBinary, DeriveBounded, DeriveEnum, DeriveEq, DeriveIx, DeriveOrd, DeriveRead, DeriveShow.
module DeriveLib where import Syntax import IntState import NT syntaxCtxs pos ctxs = map ( \ (c,v) -> Context pos c (pos,v)) ctxs syntaxType pos typ tvs = TypeCons pos typ (map (TypeVar pos) tvs) noArgs constrInfo = case ntI constrInfo of (NewType _ _ _ [nt]) -> True _ -> False deriveError str = \ down state -> (DeclIgnore str,addError state str)
(HTML for this module was generated on May 15, 2003. About the conversion tool.)