ghci.vim icon indicating copy to clipboard operation
ghci.vim copied to clipboard

'zt' acting very weird.

Open capn-freako opened this issue 8 years ago • 1 comments

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

capn-freako avatar Dec 16 '17 01:12 capn-freako

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 :)

isovector avatar Dec 16 '17 01:12 isovector