[Haskell-cafe] ghc-mod split feature
Alejandro Serrano Mena
trupill at gmail.com
Sun Jan 11 10:06:35 UTC 2015
When calling "split" in GHC, you should point at the beginning of the
variable you want to split on.
In this case, try using
$ ghc-mod split src/Foo.hs Foo 47 3
instead. This should make it work :)
2015-01-03 23:25 GMT+01:00 Tobias Pflug <tobias.pflug at gmx.net>:
> i just wanted to try some of the ghcmod features that I haven't used
> before in order to hopefully add them to my vim haskell workflow somehow.
> What I apparently can't get to work is the split command:
> $ ghc-mod split src/Foo.hs Foo 47 7
> which points to exactly the code listed in the ghc-mod help:
> f :: [a] -> a
> f x = _
> It does however not yield any output at all. Am I missing something
> obvious here ? I'm using version 220.127.116.11
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe