[Haskell-cafe] Compiling a DSL on the shoulders of GHC

Patai Gergely patai_gergely at fastmail.fm
Sun Oct 17 14:12:05 EDT 2010


> And it is not enough to provide just a driver function, that is called in 
> 'main', say
>    run :: IOArrow a b -> a -> IO b
> ?
No, because I need to compile the stream processing program itself by a
different tool. I just want to trick GHC into doing much of the
weightlifting. No IO monad is involved, by the way, the stream processor
is supposed to be a pure transformation.

Gergely

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again



More information about the Haskell-Cafe mailing list