Skip to content

Commit

Permalink
Fix build failure with lens-4.2
Browse files Browse the repository at this point in the history
Since lens-4.2 export the `deep`, turn CV.Image.deep into local
function to avoid "ambiguous symbol" build error.
  • Loading branch information
pxqr committed Jun 9, 2014
1 parent f2aa85a commit 7ecdf9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CV/Image.chs
Expand Up @@ -350,8 +350,8 @@ instance Sized (MutableImage a b) where
type Size (MutableImage a b) = IO (Int,Int)
-- getSize :: (Integral a, Integral b) => Image c d -> (a,b)
getSize (Mutable i) = evaluate (deep (getSize i))

deep a = a `deepseq` a
where
deep a = a `deepseq` a

instance Sized BareImage where
type Size BareImage = (Int,Int)
Expand Down

0 comments on commit 7ecdf9c

Please sign in to comment.