[Haskell-cafe] [ANN] sarsi 0.0.2.0 - A universal quickfix toolkit and his protocol (nvim/vim)
Alois Cochard
alois.cochard at gmail.com
Sat Apr 16 19:36:28 UTC 2016
For those for who are yet not clear on what the hell this tool is doing,
here is a screencast showing a one minute fixing session using stack:
https://media.giphy.com/media/3o6ozkwoL7wHOjer9C/giphy.gif
On 16 April 2016 at 17:57, Alois Cochard <alois.cochard at gmail.com> wrote:
> Hi Daniel,
>
> I thought that the motivation part in the blog post would answer that,
> seems like it's not enough.
> http://aloiscochard.blogspot.ch/2016/04/quickfix-all-things-with-sarsi.html
>
> You see, when you use ghc-mod or other similar integration of the like, it
> usually type check the code in your active project, but such tools doesn't
> have a complete vision of your project (like source dependencies as
> mentioned in the blog post). Due to that, the error reported in ghc-mod/...
> might be different (and sometime not so useful) than the one returned by
> the build tool. I mean I always want to fix the first error reported by my
> build tool, not an other one in the file I'm viewing, etc ...
>
> The motivation was to be able to populate the quickfix list using the
> output of the build tool (which is usually run continuously on file change,
> there is an example using `entr` in the README), as an alternative to using
> mainly the type checker. I see both as useful, but in different context.
>
> If you never felt frustrated with your current setup, you probably won't
> see much benefit in this approach, but personally, I am much more
> productive using the one *sarsi* offer.
>
> Cheers
>
>
>
> On 16 April 2016 at 15:49, Daniel Trstenjak <daniel.trstenjak at gmail.com>
> wrote:
>
>>
>> Hi Alois,
>>
>> I think that I know vim and the Haskell development environment quite
>> well, but have a hard time to get what sarsi really is.
>>
>> It seems to be something about running a compiler (continuously?)
>> and saving the error messages per file?
>>
>> In the documentation a motivation might be missing like e.g. what it
>> does beyond - or better than - the vim integrations of ghc-mod oder
>> hdevtools?
>>
>> Greetings,
>> Daniel
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>>
>
>
>
> --
> *Λ\ois*
> http://twitter.com/aloiscochard
> http://github.com/aloiscochard
>
--
*Λ\ois*
http://twitter.com/aloiscochard
http://github.com/aloiscochard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160416/b37a4be6/attachment.html>
More information about the Haskell-Cafe
mailing list