Skip to content
Browse files

type for debug method

  • Loading branch information...
1 parent 7ad1738 commit 5b2fd66395a7a3d25b9a798fc0d555db6f00cbd7 @JPMoresmau committed Mar 20, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Scion/Cabal.hs
View
1 lib/Scion/Cabal.hs
@@ -300,6 +300,7 @@ cabalDynFlags component = do
else "")]
_ -> []
+fromJustD :: [Char] -> Maybe a -> a
fromJustD msg Nothing=error msg
fromJustD _ (Just a)=a

0 comments on commit 5b2fd66

Please sign in to comment.
Something went wrong with that request. Please try again.