Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Switch to tree-view
Browse files Browse the repository at this point in the history
  • Loading branch information
eashanhatti committed Jul 15, 2022
1 parent caa88c2 commit e8225ae
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
4 changes: 2 additions & 2 deletions app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import Data.Set qualified as Set
import Data.Sequence((<|))
import Data.Bifunctor
import Numeric.Natural
import Data.Tree.Render.Text
import Data.Tree.View
import Search(SearchNode(..))
import "peridot" Extra

Expand Down Expand Up @@ -146,7 +146,7 @@ loop = do
let
ttree =
pack .
renderTree (tracedRenderOptions id) .
showTree .
fmap
(\case
Atom goal -> unpack . prettyPure (rmGlobals eqs) $ goal
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ dependencies:
- parser-combinators
- haskell-stack-trace-plugin
- directory
- tree-render-text
- tree-view

library:
source-dirs: src
Expand Down
6 changes: 3 additions & 3 deletions peridot.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ library
, tasty
, tasty-golden
, text
, tree-render-text
, tree-view
default-language: Haskell2010

executable peridot
Expand Down Expand Up @@ -155,7 +155,7 @@ executable peridot
, tasty
, tasty-golden
, text
, tree-render-text
, tree-view
default-language: Haskell2010

test-suite peridot-test
Expand Down Expand Up @@ -218,5 +218,5 @@ test-suite peridot-test
, tasty
, tasty-golden
, text
, tree-render-text
, tree-view
default-language: Haskell2010
1 change: 0 additions & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ extra-deps:
- fused-effects-1.1.1.1
- shower-0.2.0.2
- haskell-stack-trace-plugin-0.1.3.0
- tree-render-text-0.4.0.0

# Override default flag values for local packages and extra-deps
# flags: {}
Expand Down
7 changes: 0 additions & 7 deletions stack.yaml.lock
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ packages:
sha256: aadc335cee4b3fceaab0e00db0a2e29447af2015608b431558faa167381e9bd9
original:
hackage: haskell-stack-trace-plugin-0.1.3.0
- completed:
hackage: tree-render-text-0.4.0.0@sha256:8229625b2cd4fba6739b7c0d34868f48ebea20a9e4b6b12ac6fb23c919564734,979
pantry-tree:
size: 302
sha256: 3118c7f8553ea160525586ef678e8cc3adf679df29f16367e530d1de64f2c3a3
original:
hackage: tree-render-text-0.4.0.0
snapshots:
- completed:
size: 587821
Expand Down

0 comments on commit e8225ae

Please sign in to comment.