[Haskell-beginners] vim - quickly take suggestions from ghc, in case of compile errors

Rene@gmail rtbtobi at gmail.com
Tue Sep 24 17:19:25 CEST 2013


Hi Nathan,

try ghc-mod (cabal install ...) and syntastic (https://github.com/scrooloose/syntastic/).

cheers,
René

On 24.09.2013 16:30, beginners-request at haskell.org wrote:

>        Message: 4
>     Date: Tue, 24 Sep 2013 16:08:24 +0200
>     From: Nathan H?sken <nathan.huesken at posteo.de>
>     To: Haskell Beginners Mailinglist <beginners at haskell.org>
>     Subject: [Haskell-beginners] vim - quickly take suggestions from ghc
>     	in case	of compile errors
>     Message-ID: <52419CD8.8010206 at posteo.de>
>     Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>     Hey,
>
>     ghc has a nice feature, when one compiles a haskell program and has made
>     a spelling error, it suggest similar names that could be what one meant.
>
>     Example:
>     Data.hs:24:44:
>           Not in scope: `mont_'
>           Perhaps you meant `month_' (line 10)
>
>     Is there a vim plugin that takes advantage of this? So that I can
>     compile my haskell project, and for errors where ghc has a suggestion
>     insert the suggestion with a simple key press?
>
>     Thanks!
>     Nathan





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130924/0aab6f00/attachment.htm>


More information about the Beginners mailing list