packages feed

stackcollapse-ghc 0.0.1.2 → 0.0.1.3

raw patch · 4 files changed

+9/−39 lines, 4 filesdep ~recursion-schemes

Dependency ranges changed: recursion-schemes

Files

CHANGELOG.md view
@@ -3,6 +3,12 @@ `stackcollapse-ghc` uses [PVP Versioning][1]. The changelog is available [on GitHub][2]. +## 0.0.1.3++This release does not change functionality++* Rebuild with recursion-schemes >=5.2 && < 5.3+ ## 0.0.1.2  This release does not change functionality
− src/Orphans.hs
@@ -1,35 +0,0 @@-{-  stackcollapse-ghc - fold GHC prof files into flamegraph input-    Copyright (C) 2020 Marcin Rzeźnicki--    This program is free software: you can redistribute it and/or modify-    it under the terms of the GNU General Public License as published by-    the Free Software Foundation, either version 3 of the License, or-    (at your option) any later version.--    This program is distributed in the hope that it will be useful,-    but WITHOUT ANY WARRANTY; without even the implied warranty of-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the-    GNU General Public License for more details.--    You should have received a copy of the GNU General Public License-    along with this program.  If not, see <https://www.gnu.org/licenses/>.--}-{-# LANGUAGE TypeFamilies #-}--module Orphans (TreeF(..)) where--import           Data.Tree (Tree(..))-import           Data.Functor.Foldable--data TreeF a r = NodeF a [r]--instance Functor (TreeF a) where-  fmap f (NodeF a rs) = NodeF a (map f rs)--type instance Base (Tree a) = TreeF a--instance Recursive (Tree a) where-  project (Node a sub) = NodeF a sub--instance Corecursive (Tree a) where-  embed (NodeF a rs) = Node a rs
src/StackCollapse.hs view
@@ -28,7 +28,6 @@ import           Trace import           Config import           UserModule-import           Orphans import           Profiles import           CallTree (CallForest) import           Data.ByteString.Builder@@ -40,6 +39,7 @@ import           Data.Functor.Foldable import           Data.Functor ((<&>)) import           Control.Applicative (liftA2, liftA3)+import           Data.Functor.Base (TreeF(..))  data StackCollapse = forall p. Profile p   => StackCollapse { profile :: p
stackcollapse-ghc.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.4 name:                stackcollapse-ghc-version:             0.0.1.2+version:             0.0.1.3 synopsis:            Program to fold GHC prof files into flamegraph input description:         Program to fold GHC prof files into flamegraph input @@ -95,7 +95,6 @@                        Format                        CallTree                        CallTreeBuilder-                       Orphans                        Profiles                        StackCollapse   build-depends:       text >= 1.2.3.0,@@ -103,7 +102,7 @@                        rosezipper ==0.2,                        foldl >= 1.4.6 && < 1.5,                        transformers ==0.5.6.*,-                       recursion-schemes ==5.1.3,+                       recursion-schemes >= 5.2 && < 5.3,                        safe ==0.3.*,                        extra