Sunday, March 29, 2009

Haddock is back

Thanks to the work of David Waern, and the Haskell community in general, Haddock can produce documentation for Yi again!

I uploaded the API docs corresponding to the current version to the community server:
http://projects.haskell.org/yi/doc/

They can be regenerated on your repository by using the latest and greatest versions packages of Cabal, cabal-install and haddock.


cabal update
cabal install Cabal
cabal install cabal-install
cabal install haddock
cd yi
cabal configure
cabal haddock


The documentation will also soon be found on Hackage, as soon as it upgrades to these versions, and then the API will be searchable via Hayoo! A nice example of leveraging the Haskell toolchain.

Another example: using Hoogle, you can search the API right now (if you have the darcs repo).


cabal install hoogle
make yi.hoo
hoogle --data=yi.hoo "your query"

1 comment:

Rohit Kaushik said...

nice blogs and very informative content .....

Document Editing Services