Scripting an application in haskell: howto expose application api ?

Marc Weber marco-oweber at gmx.de
Mon Mar 24 04:31:57 EDT 2008


Hi,

I'd like to add haskell scripting (ghc) support to vim.
Passing the cmd to a .hsc module already works fine.
But I can't imagine yet how to expose vim functions to the
session started with newSession from the GHC API.

Of course one way to go is interprocess communication (opening kind of
pipe sending events/ commands replies..)
But maybe you can think of someting easier ?

Sincerly
Marc Weber


More information about the Glasgow-haskell-users mailing list