Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Releases: jetaggart/light-haskell

0.3.0

04 Oct 19:42
Compare
Choose a tag to compare
  • 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

0.2.7

04 Oct 11:39
Compare
Choose a tag to compare

0.2.6

15 Apr 16:37
Compare
Choose a tag to compare

0.2.5

15 Feb 12:45
Compare
Choose a tag to compare
  • 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