9 lines
317 B
Plaintext
9 lines
317 B
Plaintext
{- :set -Wall -}
|
|
:set +m
|
|
|
|
let ghciEscapeShellArg arg = "'" ++ concatMap (\c -> if c == '\'' then "'\"'\"'" else [c]) arg ++ "'"
|
|
|
|
:def! h return . (":! hoogle --color --count=20 " ++) . ghciEscapeShellArg
|
|
:def! doc return . (":! hoogle --info " ++) . ghciEscapeShellArg
|
|
:def! hlint const . return $":! hlint \"src\""
|