Hets - the Heterogeneous Tool Set

Copyright(c) Jonathan von Schroeder, DFKI GmbH 2010
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerjonathan.von_schroeder@dfki.de
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred

HolLight.Helper

Description

 

Documentation

fromRight :: Either t t1 -> t1

soc :: String -> Bool -> [Doc] -> Doc

sot :: Int -> HolType -> Doc

revAssocd :: Eq t1 => t1 -> [(t, t1)] -> t -> t

frees :: Term -> [Term]

vsubst :: [(Term, Term)] -> Term -> Maybe Term

splitlist :: (t -> Maybe (a, t)) -> t -> ([a], t)

revSplitlist :: (t -> Maybe (t, t1)) -> t -> (t, [t1])

stripComb :: Term -> (Term, [Term])

stripGabs :: Term -> ([Term], Term)

destLet :: Term -> Maybe ([(Term, Term)], Term)

codeOfTerm :: Num b => Term -> Maybe b