Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Help with Data.Aeson json data parsing (Miro Karpis)
----------------------------------------------------------------------
Message: 1
Date: Sat, 4 Jan 2014 00:58:27 +0100
From: Miro Karpis <[email protected]>
To: Brandon Allbery <[email protected]>
Cc: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Help with Data.Aeson json data
parsing
Message-ID:
<CAJnnbxGeYPqQ2L_j8OOOpxMVUE0s+0+zAMXNHqGZ9Y_PR=n...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
yes, I see, thanks ;-)
this did the trick:
....
case (eitherDecode' x :: Either String [SomeData]) of
....
On Sat, Jan 4, 2014 at 12:48 AM, Brandon Allbery <[email protected]>wrote:
> On Fri, Jan 3, 2014 at 6:42 PM, Miro Karpis <[email protected]>wrote:
>
>> data SomeDataPack = SomeDataPack{
>> pack :: [SomeData]
>> } deriving (Show, Generic)
>>
>
> Isn't this going to be a record? {"pack": [an array goes here]} just as
> with the preceding definition, but with only a single field.
>
> --
> brandon s allbery kf8nh sine nomine
> associates
> [email protected]
> [email protected]
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20140104/70162aee/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 67, Issue 7
****************************************