huff-0.1.0.1: A fast-foward-based planner
Huff
Synopsis
huff :: QuasiQuoter Source #
type Spec a = (Problem, Domain a) Source #
data Domain a Source #
A collection of named operators.
Instances
Methods
showsPrec :: Int -> Domain a -> ShowS #
show :: Domain a -> String #
showList :: [Domain a] -> ShowS #
data Problem Source #
showsPrec :: Int -> Problem -> ShowS #
show :: Problem -> String #
showList :: [Problem] -> ShowS #
data Literal Source #
showsPrec :: Int -> Literal -> ShowS #
show :: Literal -> String #
showList :: [Literal] -> ShowS #
neg :: Literal -> Literal Source #
data Term Source #
showsPrec :: Int -> Term -> ShowS #
show :: Term -> String #
showList :: [Term] -> ShowS #
neg :: Term -> Term Source #
(/\) :: Term -> Term -> Term infixr 3 Source #
(\/) :: Term -> Term -> Term infixr 4 Source #
imply :: Term -> Term -> Term Source #
class Has_neg a where Source #
Minimal complete definition
neg
neg :: a -> a Source #
findPlan :: Spec a -> IO (Maybe [a]) Source #