[Haskell-beginners] How to use the yaml package?
xavier-list at rhnh.net
Wed Feb 2 21:23:36 CET 2011
I want to use YAML in my app
I have run:
cabal install yaml
I have added it to my build-depends line in my .cabal file:
$ runhaskell Setup.lhs configure
Setup.lhs: At least the following dependencies are missing:
Oh no! I tried just importing Text.Libyaml in both my app and GHCi but
neither error gave any clues. I also found references to HsSyck,
data-object-yaml and YAML::Tiny libraries, but not sure what I should be
Right now I'm feeling totally lost, not being able to find examples of
code using yaml, nor documentation for how I would use the libraries to
play around with it. Also not comfortable I understand the interaction
between cabal, runhaskell, ghc, and my build file.
References to documentation I should have read also appreciated.
(I don't know how relevant it is, but here is my minimal project I am
trying to add it to: https://github.com/xaviershay/xtdo-hs)
More information about the Beginners