Import RunPlugs from lambdabot
This commit is contained in:
parent
887fa59389
commit
e5569da033
@ -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"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user