rewrite-inspector 0.1.0.10 → 0.1.0.11
raw patch · 2 files changed
+5/−8 lines, 2 filesdep ~brickPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: brick
API changes (from Hackage documentation)
- Gen: after :: forall term_aeyA ctx_aeyB. Lens' (HStep term_aeyA ctx_aeyB) term_aeyA
+ Gen: after :: forall term_aeyO ctx_aeyP. Lens' (HStep term_aeyO ctx_aeyP) term_aeyO
- Gen: before :: forall term_aeyA ctx_aeyB. Lens' (HStep term_aeyA ctx_aeyB) term_aeyA
+ Gen: before :: forall term_aeyO ctx_aeyP. Lens' (HStep term_aeyO ctx_aeyP) term_aeyO
- Gen: bndrS :: forall term_aeyA ctx_aeyB. Lens' (HStep term_aeyA ctx_aeyB) String
+ Gen: bndrS :: forall term_aeyO ctx_aeyP. Lens' (HStep term_aeyO ctx_aeyP) String
- Gen: ctx :: forall term_aeyA ctx_aeyB ctx_akHS. Lens (HStep term_aeyA ctx_aeyB) (HStep term_aeyA ctx_akHS) [ctx_aeyB] [ctx_akHS]
+ Gen: ctx :: forall term_aeyO ctx_aeyP ctx_akI6. Lens (HStep term_aeyO ctx_aeyP) (HStep term_aeyO ctx_akI6) [ctx_aeyP] [ctx_akI6]
- Gen: name :: forall term_aeyA ctx_aeyB. Lens' (HStep term_aeyA ctx_aeyB) String
+ Gen: name :: forall term_aeyO ctx_aeyP. Lens' (HStep term_aeyO ctx_aeyP) String
- Types: binders :: forall term_anbj. Lens' (VizStates term_anbj) [Binder]
+ Types: binders :: forall term_anbD. Lens' (VizStates term_anbD) [Binder]
- Types: com :: forall term_amZa. Lens' (OptionsUI term_amZa) Command
+ Types: com :: forall term_amZu. Lens' (OptionsUI term_amZu) Command
- Types: curBinder :: forall term_anbj. Lens' (VizStates term_anbj) Binder
+ Types: curBinder :: forall term_anbD. Lens' (VizStates term_anbD) Binder
- Types: curExpr :: forall term_an86. Lens' (VizState term_an86) term_an86
+ Types: curExpr :: forall term_an8q. Lens' (VizState term_an8q) term_an8q
- Types: curOccur :: forall term_an86. Lens' (VizState term_an86) Int
+ Types: curOccur :: forall term_an8q. Lens' (VizState term_an8q) Int
- Types: curStep :: forall term_an86. Lens' (VizState term_an86) Int
+ Types: curStep :: forall term_an8q. Lens' (VizState term_an8q) Int
- Types: form :: forall term_anbj. Lens' (VizStates term_anbj) (Form (OptionsUI term_anbj) NoCustomEvent Name)
+ Types: form :: forall term_anbD. Lens' (VizStates term_anbD) (Form (OptionsUI term_anbD) NoCustomEvent Name)
- Types: height :: forall term_anbj. Lens' (VizStates term_anbj) Int
+ Types: height :: forall term_anbD. Lens' (VizStates term_anbD) Int
- Types: leftN :: forall term_an86. Lens' (VizState term_an86) Int
+ Types: leftN :: forall term_an8q. Lens' (VizState term_an8q) Int
- Types: opts :: forall term_amZa term_an7M. Lens (OptionsUI term_amZa) (OptionsUI term_an7M) (Options term_amZa) (Options term_an7M)
+ Types: opts :: forall term_amZu term_an86. Lens (OptionsUI term_amZu) (OptionsUI term_an86) (Options term_amZu) (Options term_an86)
- Types: prevState :: forall term_an86. Lens' (VizState term_an86) (Maybe (VizState term_an86))
+ Types: prevState :: forall term_an8q. Lens' (VizState term_an8q) (Maybe (VizState term_an8q))
- Types: rightN :: forall term_an86. Lens' (VizState term_an86) Int
+ Types: rightN :: forall term_an8q. Lens' (VizState term_an8q) Int
- Types: scroll :: forall term_anbj. Lens' (VizStates term_anbj) Bool
+ Types: scroll :: forall term_anbD. Lens' (VizStates term_anbD) Bool
- Types: showBot :: forall term_anbj. Lens' (VizStates term_anbj) Bool
+ Types: showBot :: forall term_anbD. Lens' (VizStates term_anbD) Bool
- Types: states :: forall term_anbj. Lens' (VizStates term_anbj) (Map Binder (VizState term_anbj))
+ Types: states :: forall term_anbD. Lens' (VizStates term_anbD) (Map Binder (VizState term_anbD))
- Types: steps :: forall term_an86. Lens' (VizState term_an86) (History term_an86 (Ctx term_an86))
+ Types: steps :: forall term_an8q. Lens' (VizState term_an8q) (History term_an8q (Ctx term_an8q))
- Types: width :: forall term_anbj. Lens' (VizStates term_anbj) Int
+ Types: width :: forall term_anbD. Lens' (VizStates term_anbD) Int
Files
- rewrite-inspector.cabal +4/−4
- src/BrickUI.hs +1/−4
rewrite-inspector.cabal view
@@ -1,5 +1,5 @@ name: rewrite-inspector-version: 0.1.0.10+version: 0.1.0.11 cabal-version: >=1.10 build-type: Simple license: BSD3@@ -30,11 +30,11 @@ Types Pretty BrickUI- build-depends: base >= 4.3.1.0 && < 5,+ build-depends: base >= 4.10 && < 5, binary >= 0.8.5 && < 0.11,- hashable >= 1.2.1.0 && < 1.3,+ hashable >= 1.2.1.0 && < 1.4, containers >= 0.5.0.0 && < 0.7,- brick == 0.46,+ brick == 0.50, vty >= 5.26, prettyprinter >= 1.2.0.1 && < 2.0, text,
src/BrickUI.hs view
@@ -52,10 +52,7 @@ case args of [fname] -> do hist <- readHistory @term fname- void $ B.customMain- -- Vty configuration- (V.mkVty $ V.defaultConfig { V.vtime = Just 100, V.vmin = Just 1 })- Nothing -- event channel+ void $ B.defaultMain (app @term (themeToAttrMap theme)) -- the Brick application (createVizStates @term hist) -- initial state _ -> error "Usage: clash-term <history_file>"