Trying to get started with Chicken Scheme I'm finding myself thwarted by the REPL. CSI doesn't seem to allow me to paste multiple lines into it, which makes it really hard to work an a new function in a separate file and then paste it in to test it.
I'm just trying to get a block of code into it in one gulp that was created in an external edit.
The comments to @romainil's answer seem to indicate that some people can. Just not me for reasons I can't fathom.
So, how do I paste multiple lines into csi?
(Side note: I'm doing this on a Mac. I've tried using Terminal and iTerm 2, same results.)
[edit] prior version included side question about how to get a block of code into csi from vim other than pasting. @romainl's answer covered most of that, but short of running a shell within vim I haven't found a solution that actually works.