Building doc for yesod-json

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 Do you have any clue as to why this would fail? I should probably mention that I'm compiling this on a system with GHC 6.12.3. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus

On Monday 07 February 2011 01:11:47, Magnus Therning 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
Do you have any clue as to why this would fail?
If I remember correctly, you can't have a `-- ^' comment in the export list, there you can only have `-- *' (multiple *s allowed) and `-- $text', or haddock will choke.
I should probably mention that I'm compiling this on a system with GHC 6.12.3.
/M

On 7 February 2011 11:11, Magnus Therning
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@gmail.com IvanMiljenovic.wordpress.com

On Mon, Feb 7, 2011 at 2:36 AM, Ivan Lazar Miljenovic
On 7 February 2011 11:11, Magnus Therning
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.
Of all things to mess up... ok, I've uploaded yesod-json-0.0.0.1. Hopefully that should work. Michael

On 07/02/11 04:19, Michael Snoyman wrote:
On Mon, Feb 7, 2011 at 2:36 AM, Ivan Lazar Miljenovic
wrote: On 7 February 2011 11:11, Magnus Therning
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.
Of all things to mess up... ok, I've uploaded yesod-json-0.0.0.1. Hopefully that should work.
That worked beautifully. Thanks! /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus
participants (4)
-
Daniel Fischer
-
Ivan Lazar Miljenovic
-
Magnus Therning
-
Michael Snoyman