Em Qua, 2008-07-09 às 22:07 -0400, Peter Gavin escreveu: > 1) Haskell is way different from the other languages that gobject > introspection is aimed at (e.g. Python, Perl, etc.) Those are all > procedural languages. Any binding generator is therefore going to > necessarily expose the IO monad everywhere. There are many things > that can safely be unsafePerformIO'd, that a generator won't be able to > handle. > 2) Hand-written bindings are better because a generator can never know > what the *intent* of an API is. We can adapt a lot of the idioms used in > the C libraries to Haskell idioms. For example, cairo's Render monad. > Code generators can't do that.
These are very interesting points. This and some things Axel said in his e-mails made me think that haskell is a different case, and that providing just low-level bindings is not very useful... But it was nice talking about it. Thanks. -- Marco Túlio Gontijo e Silva Página: http://marcotmarcot.googlepages.com/ Blog: http://marcotmarcot.blogspot.com/ Correio: [EMAIL PROTECTED] XMPP: [EMAIL PROTECTED] IRC: [EMAIL PROTECTED] Telefone: 25151920 Celular: 98116720 Endereço: Rua Turfa, 639/701 Prado 30410-370 Belo Horizonte/MG Brasil ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Gtk2hs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel
