-
support multiline eval
you can now evaluate multiline expressions, such as the following:
inc :: Int -> Int inc n = n + 1 import Control.Monad (forM_) putMany :: (Show a) => [a] -> IO () putMany xs = forM_ xs $ \x -> do putStrLn $ show x
however, the following limitations still apply:
- you have to select the expression you want to evaluate
- except if it's a one-line expression
- you can only eval one expression at a time
- all output is printed inline, not on lighttable's console
- you have to select the expression you want to evaluate
- support for both GHC 7.6 and 7.8 (#48), thanks to @elfenlaid
- use travis
- windows support, thanks to @remco138
-
support evaluating top-level assignments again
n = 42 inc = \x -> x + 1 -- the following does *not* work yet (coming soon) inc x = x + 1
-
remove old results on the same line before evaluating