rename readMaybe to readish
a stricter (but also partial) readMaybe is getting added to base
This commit is contained in:
parent
5e172b43c4
commit
ba6088b249
9 changed files with 13 additions and 13 deletions
2
Seek.hs
2
Seek.hs
|
@ -36,7 +36,7 @@ withAttrFilesInGit attr a params = do
|
|||
withNumCopies :: (Maybe Int -> FilePath -> CommandStart) -> CommandSeek
|
||||
withNumCopies a params = withAttrFilesInGit "annex.numcopies" go params
|
||||
where
|
||||
go (file, v) = a (readMaybe v) file
|
||||
go (file, v) = a (readish v) file
|
||||
|
||||
withBackendFilesInGit :: (BackendFile -> CommandStart) -> CommandSeek
|
||||
withBackendFilesInGit a params =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue