Removing trailing white spaces.

This commit is contained in:
Kazu Yamamoto 2010-02-19 23:43:03 +09:00
parent 8ae67a5f66
commit 46e84b59e2
3 changed files with 4 additions and 5 deletions

View File

@ -205,7 +205,7 @@ nonGhcName = do c <- anyChar -- making this func non-empty
remove :: Parser String
remove = do l1 <- try ghcName <|> return ""
l2 <- nonGhcName
ll <- many (do x <- ghcName
ll <- many (do x <- ghcName
y <- nonGhcName
return $ x ++ y)
return $ concat $ l1 : l2 : ll

View File

@ -5,7 +5,7 @@
;; Author: Kazu Yamamoto <Kazu@Mew.org>
;; Created: Sep 25, 2009
;; Revised:
;; Revised:
;; Put the following code to your "~/.emacs".
;;

View File

@ -7,12 +7,12 @@ License: BSD3
Homepage: http://www.mew.org/~kazu/
Synopsis: Extracting names from 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
backend for completion on Emacs.
Category: Development
Cabal-Version: >= 1.2
Build-Type: Simple
Build-Type: Simple
Data-Dir: elisp
Data-Files: Makefile ghc.el ghc-func.el ghc-doc.el ghc-comp.el
Executable ghc-mod
@ -22,4 +22,3 @@ Executable ghc-mod
parsec >= 2.0.0.0,
process >= 1.0,
haskell-src-exts >= 1.0