Dear Tobias,
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@gmx.net>:
Hi,

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 5.2.1.1

Thanks,
Tobi
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe