4 Jan
2014
4 Jan
'14
7:58 a.m.
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 <allbery.b@gmail.com>wrote:
On Fri, Jan 3, 2014 at 6:42 PM, Miro Karpis <miroslav.karpis@gmail.com>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 allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net