diff --git a/changelog.md b/changelog.md index 020ddb8..b37bca3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,29 @@ # Changes +## 0.3.0 + +* support multiline eval + + you can now evaluate multiline expressions, such as the following: + + ```haskell + 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 * support for both GHC 7.6 and 7.8 (#48), thanks to @elfenlaid diff --git a/light-haskell.cabal b/light-haskell.cabal index 88b9c70..87d33f5 100644 --- a/light-haskell.cabal +++ b/light-haskell.cabal @@ -10,7 +10,7 @@ name: light-haskell -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change -version: 0.2.7 +version: 0.3.0 -- A short (one-line) description of the package. -- synopsis: diff --git a/plugin.json b/plugin.json index f1c139c..9ae75b5 100644 --- a/plugin.json +++ b/plugin.json @@ -1,5 +1,5 @@ {"name": "Haskell", - "version": "0.2.7", + "version": "0.3.0", "author": "Jeff Taggart, Lucas Stadler, Ben Kirwin", "source": "https://github.com/psylinse/light-haskell", "desc": "Haskell integration for LightTable", diff --git a/project.clj b/project.clj index 0239979..e339bc0 100644 --- a/project.clj +++ b/project.clj @@ -1,3 +1,3 @@ -(defproject com.lighttable/haskell "0.2.7" +(defproject com.lighttable/haskell "0.3.0" :description "Haskell language plugin for Light Table" :dependencies [[org.clojure/clojure "1.5.1"]])