Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Carryover from dodging the fact that Control.Monad and Data.Void both…

… exported void by renaming the one in Data.Void
  • Loading branch information...
commit 991ca0aa76cd43c4f92d4d7e09b9486caa3183f8 1 parent 5bcddc2
Edward Kmett authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  Data/Graph/Class.hs
  2. +2 −2 graphs.cabal
2  Data/Graph/Class.hs
View
@@ -116,7 +116,7 @@ instance (Graph g, Monoid w) => Graph (Strict.RWST r w s g) where
edgeMap = liftEdgeMap
voidMap :: PropertyMap Identity Void a
-voidMap = PropertyMap (Identity . void) $ \_ _ -> Identity voidMap
+voidMap = PropertyMap (Identity . absurd) $ \_ _ -> Identity voidMap
-- | The empty graph
instance Graph Identity where
4 graphs.cabal
View
@@ -1,6 +1,6 @@
name: graphs
category: Data Structures
-version: 0.3
+version: 0.3.1
license: BSD3
cabal-version: >= 1.6
license-file: LICENSE
@@ -24,7 +24,7 @@ library
data-default >= 0.2 && < 0.3,
transformers >= 0.2.2 && < 0.3,
containers >= 0.3 && < 0.5,
- void >= 0.3 && < 0.4
+ void >= 0.4 && < 0.5
exposed-modules:
Data.Graph.AdjacencyList
Please sign in to comment.
Something went wrong with that request. Please try again.