[darcs-users] Grapefruit-based GUI for darcs?

Florent Becker florent.becker at ens-lyon.org
Fri Dec 12 17:54:36 UTC 2008


Wolfgang Jeltsch wrote:

> Hello,
> 
> I’m developing Grapefruit, a library for Functional Reactive Programming
> with
> a focus on GUIs.  I’d like to get some of my students working on a small
> practical GUI application which uses Grapefruit.  I thought, a GUI for
> darcs would be a good idea.
> 
It would be great, even as a proof-of-concept.

> So I’d like to know if there is any interest in such a project. 
> Furthermore, I’d like to know how to best access darcs’ functionality from
> another
> (Haskell) application.  Should one run the darcs command or should one
> better use certain darcs modules (modules in the sense of “Haskell
> modules”)
> directly? 

You can now hook into all darcs module through libHSdarcs. There is no API
though: the modules are still designed as internal modules for a monolithic
application. It will probably save some parsing round-trips if you look at
foo_cmd for Foo in src/Darcs/Commmands/*.lhs, but apart from that, I'm not
sure it will be especially easy.

> Is there any effort towards a darcs API similar to the GHC API? 
> 
There is one, but it hasn't really started yet. I think you can tell your
students to not hesitate to either ask us to give some API or modify
themeselves the code. We would more than welcome any patch that can get us
closer to a saner library API.

> Best wishes,
> Wolfgang
> _______________________________________________
> darcs-users mailing list
> darcs-users at darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-users




More information about the darcs-users mailing list