Jeff Wheeler schrieb: > On Sat, 2009-03-14 at 21:53 +0100, David Waern wrote: > >> Perhaps yi could just look up the installed Haddock doc string for >> each command? The haddock library provides this ability. > > I'm interested in this, but the Haddock docs on Hackage [1] don't seem > to provide much API at all; I haven't used Haddock much, so I'm probably > missing something.
To my knowledge, Haddock doesn't provide a facility to look things up - or does it, in some convoluted way? Anyways, this is provided by Hoogle, which maintains an index. However, Hoogle doesn't seem to provide an API, short of invoking the hoogle executable. Useful to know: You can do a (more or less) unambiguous lookup with hoogle --info. Kalman --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---