Import RunPlugs from lambdabot

This commit is contained in:
Don Stewart 2005-04-24 10:05:36 +00:00
parent 887fa59389
commit e5569da033

View File

@ -3,6 +3,10 @@
-- GPL version 2 or later (see http://www.gnu.org/copyleft/gpl.html) -- GPL version 2 or later (see http://www.gnu.org/copyleft/gpl.html)
-- --
--
-- | Runplugs: use hs-plugins to run a Haskell expression under
-- controlled conditions.
--
import Eval.Haskell (unsafeEval) import Eval.Haskell (unsafeEval)
import Data.Maybe (isJust, fromJust) import Data.Maybe (isJust, fromJust)
@ -23,8 +27,8 @@ prehier = ["Char", "List", "Maybe", "Numeric", "Random" ]
datas = map ("Data." ++) [ datas = map ("Data." ++) [
"Bits", "Bool", "Char", "Dynamic", "Either", "Bits", "Bool", "Char", "Dynamic", "Either",
"FiniteMap", "Graph", "Int", "Ix", "List", "Map", "Graph", "Int", "Ix", "List", "Maybe",
"Maybe", "Ratio", "Set", "Tree", "Tuple", "Typeable", "Word" "Ratio", "Set", "Tree", "Tuple", "Typeable", "Word"
] ]
controls = map ("Control." ++) ["Monad", "Arrow"] controls = map ("Control." ++) ["Monad", "Arrow"]