packages feed

heap-console 0.1.0.0 → 0.1.0.1

raw patch · 4 files changed

+11/−6 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -3,3 +3,7 @@ ## 0.1.0.0 -- 2020-11-20  * First version. Released on an unsuspecting world.++## 0.1.0.1 -- 2020-11-21++* Small fixes.
heap-console.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               heap-console-version:            0.1.0.0+version:            0.1.0.1 synopsis:           interactively inspect Haskell values at runtime description:        See the README.md file in the project repository. homepage:           https://gitlab.com/thematten/heap-console
src/Heap/Console.hs view
@@ -45,9 +45,10 @@ -- \'a\' -- @ ----- __Bindings__ can be automatically created with functions like 'inspectD',--- added in arbitrary places in program using e.g. 'evidenceD' or added in--- console directly by assigning results of selections:+-- __Bindings__ are values bound under concrete names in console. They can be+-- automatically created with functions like 'inspectD', added in arbitrary+-- places in program using e.g. 'evidenceD' or added in console directly by+-- assigning results of selections: -- -- @ -- heap-console> foo = bar.0.baz
src/Heap/Console/Value.hs view
@@ -165,8 +165,8 @@       AlgConstr{}   -> case typeOf x of         String -> uncurry string <$> stringRep n x         List   -> uncurry list   <$> listRep   n x-        _ -> conOf a . reverse <$>-          confoldl (\ys y -> (:) <$> go (n - 1) y <*> ys) (pure []) a+        _ -> conOf x . reverse <$>+          confoldl (\ys y -> (:) <$> go (n - 1) y <*> ys) (pure []) x    conOf :: forall x. Data x => x -> [r] -> _   conOf x