diff options
author | Joey Hess <joey@kitenet.net> | 2013-04-22 20:24:53 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-04-22 20:24:53 -0400 |
commit | 4d376b47b7aa506c4f4a4c5ccc83ca2ef1aeacc2 (patch) | |
tree | 33ab2e7c4b72d8a7fce40a0e93f63f3d50a6c3ab /Command/InitRemote.hs | |
parent | f672c39279366a8927abfcde3050952365f5e0ee (diff) |
expose Control.Monad.join
I think I've been looking for that function for some time.
Ie, I remember wanting to collapse Just Nothing to Nothing.
Diffstat (limited to 'Command/InitRemote.hs')
-rw-r--r-- | Command/InitRemote.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/InitRemote.hs b/Command/InitRemote.hs index c82dc9ddf..5d48e9715 100644 --- a/Command/InitRemote.hs +++ b/Command/InitRemote.hs @@ -31,7 +31,7 @@ start [] = do error $ "Specify a name for the remote. " ++ if null names then "" - else "Either a new name, or one of these existing special remotes: " ++ join " " names + else "Either a new name, or one of these existing special remotes: " ++ intercalate " " names start (name:ws) = do (u, c) <- findByName name let fullconfig = config `M.union` c |