[Haskell-cafe] Mutually recursive modules and google protocol-buffers

Jason Dusek jason.dusek at gmail.com
Tue Jul 15 20:29:04 EDT 2008

John Meacham <john at repetae.net> wrote:
> Chris Kuklewicz wrote:
> > I have reached an impasse in designing a Haskell API for the
> > google's The messages in protobuf are defined in a namespace
> > that nests in the usual hierarchical OO style that Java
> > encourages.
> > To avoid namespace conflicts, I made a hierarchy of modules.
> I wonder if this is the root of your issue, OO concepts don't
> map directly to haskell concepts a lot of the time. You may
> end up with some very atypical haskell code if you try to copy
> OO designs directly.

  What do you think is a good approach to a protocol buffer
  parser generator?


More information about the Haskell-Cafe mailing list