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
|
@ -45,7 +45,7 @@ port :: Repo -> Maybe Integer
|
|||
port r =
|
||||
case authpart uriPort r of
|
||||
":" -> Nothing
|
||||
(':':p) -> readMaybe p
|
||||
(':':p) -> readish p
|
||||
_ -> Nothing
|
||||
|
||||
{- Hostname of an URL repo, including any username (ie, "user@host") -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue