Skip to content

Commit

Permalink
Prepare for release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
edsko committed Dec 20, 2023
1 parent 4438183 commit 6dc5329
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 16 deletions.
14 changes: 13 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Revision history for visualize-cbn

## 0.2.0 -- 2023-12-20

* Support multiple (mutually recursive) bindings in `let`
* Fix pattern matching on heap-allocated objects (we were losing sharing)
* Support heap inlining
* Support for selectors (`fst`, `snd`)
* Support the selector thunk optimization
* Add `--disable-ansi` command line
* Improve trace summarization
* Add some new primitive functions (`min`, `max`, `succ`)
* Add option to hide the prelude only after a specified step

## 0.1.0.2 -- 2019-09-10

* Newer GHC compatibility
Expand All @@ -18,4 +30,4 @@
this avoids moving `e1` to the heap (provided that there aren't multiple
references to `x` from `e2`), clarifying the evaluation.
* Added graph output (contributed by Yiğit Özkavcı).
* Improved heap descriptions (contributed by Tim Rakowski).
* Improved heap descriptions (contributed by Tim Rakowski).
2 changes: 1 addition & 1 deletion src/CBN/Parser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ module CBN.Parser (
, parseIO
) where

import Control.Applicative (asum)
import Control.Exception
import Control.Monad
import Data.Bifunctor
import Data.Foldable (asum)
import Language.Haskell.TH (Q)
import Language.Haskell.TH.Quote
import Text.Parsec
Expand Down
2 changes: 1 addition & 1 deletion src/CBN/SelThunkOpt.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

module CBN.SelThunkOpt (selThunkOpt) where

import Control.Applicative
import Control.Monad
import Control.Monad.State
import Data.Foldable (asum)
import Data.Set (Set)

import qualified Data.Map as Map
Expand Down
23 changes: 10 additions & 13 deletions visualize-cbn.cabal
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
cabal-version: >=1.10
name: visualize-cbn
version: 0.1.0.2
x-revision: 3

version: 0.2.0
synopsis: Visualize CBN reduction
description: CBN interpretation and visualization tool.
Exports in text format, coloured text (ANSI) or HTML/JavaScript.
Expand Down Expand Up @@ -54,18 +52,17 @@ executable visualize-cbn
CBN.Util.Doc.Style
CBN.Util.Map
CBN.Util.Snoc
build-depends: base >= 4.9 && < 4.20
, ansi-terminal >= 0.6 && < 1.1
, blaze-html >= 0.8 && < 0.10
, blaze-markup >= 0.7 && < 0.9
, containers >= 0.5 && < 0.8
build-depends: base >= 4.14 && < 4.20
, ansi-terminal >= 1.0 && < 1.1
, blaze-html >= 0.9 && < 0.10
, blaze-markup >= 0.8 && < 0.9
, containers >= 0.6 && < 0.8
, data-default >= 0.7 && < 0.8
, optparse-applicative >= 0.12 && < 0.19
, mtl >= 2.2 && < 2.4
, optparse-applicative >= 0.18 && < 0.19
, parsec >= 3.1 && < 3.2
-- version shipped with ghc
, template-haskell
, mtl
, text
, template-haskell >= 2.18 && < 2.22
, text >= 1.2 && < 2.2
hs-source-dirs: src
default-language: Haskell2010
default-extensions: DeriveDataTypeable
Expand Down

0 comments on commit 6dc5329

Please sign in to comment.