Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
#40, require extra-1.5.1
  • Loading branch information
ndmitchell committed Oct 26, 2016
1 parent ef189f5 commit 14e3eb0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion bake.cabal
Expand Up @@ -62,7 +62,7 @@ library
disk-free-space,
unordered-containers,
smtp-mail,
extra >= 1.1,
extra >= 1.5.1,
wai >= 3.0.1,
warp >= 3.0

Expand Down
3 changes: 0 additions & 3 deletions src/General/Extra.hs
Expand Up @@ -115,9 +115,6 @@ createDir prefix info = do
return name


eitherToMaybe :: Either a b -> Maybe b
eitherToMaybe = either (const Nothing) Just

pick :: [a] -> IO a
pick xs = randomRIO (0, (length xs - 1)) >>= return . (xs !!)

Expand Down

0 comments on commit 14e3eb0

Please sign in to comment.