import Mueval.Interpreter import System.IO -- evalutate a haskell expression eval = interpreterSession False -- print inferred type False -- Do not use GHC extensions False -- Do not use rlimits ( esotericbot already does this ) Nothing -- E.hs shall be visible "E.hs" -- This file shall contain definition -- get the contents of standard in, and evaluate them as a haskell expression main = do hGetContents stdin >>= eval