diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-23 17:00:10 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-23 17:00:10 -0400 |
commit | ba6088b249902d456177af3c14f20f43b6def1fd (patch) | |
tree | 43bd6cf141c63693732d4066c0d9590c0c077822 /Git/Url.hs | |
parent | 5e172b43c4dc5d779e4f1af5c1376c9a8ebc60a4 (diff) |
rename readMaybe to readish
a stricter (but also partial) readMaybe is getting added to base
Diffstat (limited to 'Git/Url.hs')
-rw-r--r-- | Git/Url.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Git/Url.hs b/Git/Url.hs index 6a893d92f..21b69dc7c 100644 --- a/Git/Url.hs +++ b/Git/Url.hs @@ -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") -} |