[Haskell-cafe] Building doc for yesod-json

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Mon Feb 7 01:36:51 CET 2011


On 7 February 2011 11:11, Magnus Therning <magnus at therning.org> wrote:
> Michael,
>
> I've now gotten part of the way through the *long* list of dependencies
> for yesod 0.7.0, and I'm stuck on yesod-json.  It's the documentation
> that fails actually, but I'm not sure why it would:
>
> dist/build/tmp20668/Yesod/Json.hs:4:6:
>    parse error on input `-- ^ Convert from a JSON value'
>
> It's the very first bit in that file:
>
> module Yesod.Json
>    ( -- ^ Convert from a JSON value
>      defaultLayoutJson

You want "-- *" for section headers: "-- ^" is only used to annotate
constructors.

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com



More information about the Haskell-Cafe mailing list