Removing trailing white spaces.
This commit is contained in:
parent
8ae67a5f66
commit
46e84b59e2
@ -205,7 +205,7 @@ nonGhcName = do c <- anyChar -- making this func non-empty
|
|||||||
remove :: Parser String
|
remove :: Parser String
|
||||||
remove = do l1 <- try ghcName <|> return ""
|
remove = do l1 <- try ghcName <|> return ""
|
||||||
l2 <- nonGhcName
|
l2 <- nonGhcName
|
||||||
ll <- many (do x <- ghcName
|
ll <- many (do x <- ghcName
|
||||||
y <- nonGhcName
|
y <- nonGhcName
|
||||||
return $ x ++ y)
|
return $ x ++ y)
|
||||||
return $ concat $ l1 : l2 : ll
|
return $ concat $ l1 : l2 : ll
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
;; Author: Kazu Yamamoto <Kazu@Mew.org>
|
;; Author: Kazu Yamamoto <Kazu@Mew.org>
|
||||||
;; Created: Sep 25, 2009
|
;; Created: Sep 25, 2009
|
||||||
;; Revised:
|
;; Revised:
|
||||||
|
|
||||||
;; Put the following code to your "~/.emacs".
|
;; Put the following code to your "~/.emacs".
|
||||||
;;
|
;;
|
||||||
|
@ -7,12 +7,12 @@ License: BSD3
|
|||||||
Homepage: http://www.mew.org/~kazu/
|
Homepage: http://www.mew.org/~kazu/
|
||||||
Synopsis: Extracting names from modules
|
Synopsis: Extracting names from modules
|
||||||
Description: "ghc-mod" lists up all installed modules
|
Description: "ghc-mod" lists up all installed modules
|
||||||
or extracts names of functions, classes,
|
or extracts names of functions, classes,
|
||||||
and data declarations. "ghc-mod" is a
|
and data declarations. "ghc-mod" is a
|
||||||
backend for completion on Emacs.
|
backend for completion on Emacs.
|
||||||
Category: Development
|
Category: Development
|
||||||
Cabal-Version: >= 1.2
|
Cabal-Version: >= 1.2
|
||||||
Build-Type: Simple
|
Build-Type: Simple
|
||||||
Data-Dir: elisp
|
Data-Dir: elisp
|
||||||
Data-Files: Makefile ghc.el ghc-func.el ghc-doc.el ghc-comp.el
|
Data-Files: Makefile ghc.el ghc-func.el ghc-doc.el ghc-comp.el
|
||||||
Executable ghc-mod
|
Executable ghc-mod
|
||||||
@ -22,4 +22,3 @@ Executable ghc-mod
|
|||||||
parsec >= 2.0.0.0,
|
parsec >= 2.0.0.0,
|
||||||
process >= 1.0,
|
process >= 1.0,
|
||||||
haskell-src-exts >= 1.0
|
haskell-src-exts >= 1.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user