ghci.vim
ghci.vim copied to clipboard
'zt' acting very weird.
When I position my MacVim cursor at the beginning of the second line of this code:
addP :: (Num a, NFData a) => CNNParams a -> CNNParams a -> CNNParams a
addP p1 p2 = force $ zipWith (+) p1 p2
and type zt, the first line goes away and I have to type u to get it back.
And, I get this, in my GHCI window, running inside tmux:
*ConCat.Learn.CNN> :type addP
addP :: (NFData (f c), Zip f, Num c) => f c -> f c -> f c
weird. what happens if there is no type annotation on addP?
to be honest with you, these days I use this plugin exclusively to reload buffers in the repl :)