2

I see there is Data.Aeson.QQ, and there is Data.Yaml, but there is no Data.Yaml.QQ on Hackage.

Did I miss a package or am I going to have to roll my own if I want to parse YAML at compile time in Haskell?

4

2 回答 2

2

Such a module doesn't exist to my knowledge, but you can still use Data.Yaml to perform parsing at compile time. I'm not sure of exactly you want to do, so I can't really give you more details.

于 2013-03-31T06:34:38.887 回答
0

It's been added to Data.Yaml.TH in the yaml package (the quasiquoter name is yamlQQ).

于 2018-04-12T12:02:49.633 回答