Excellent! It would be better to use the hoogle as an Haskell API directly... But I see that it is not available :( I also made minor changes, see my patch.
Cheers, JP. On Sun, Dec 14, 2008 at 10:27 AM, Jean-Philippe Bernardy <jpberna...@community.haskell.org> wrote: > > Sat Dec 13 23:21:57 EST 2008 gwe...@gmail.com > * +Yi.Hoogle: new module > Ignore-this: f23af4eff44418c11ebc3880504d7f25 > This is a new module which calls out to the CLI Hoogle, and reads it back in. > We parse it in various ways, and ultimately provide a function 'hoogle' > suitable > for binding to a key. This function reads the word before the point (the user > is typing it in), runs a Hoogle search on it, pulls out the functions > matching it, > and pastes into the buffer the top result. > > A ./Yi/Hoogle.hs > M ./yi.cabal +1 > > > > --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---