Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@haskell.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..." Today's Topics: 1. Re: How to write the FromJSON instance for CUid (David McBride) 2. Re: How to write the FromJSON instance for CUid (PICCA Frederic-Emmanuel) 3. Re: How to write the FromJSON instance for CUid (David McBride) 4. Re: How to write the FromJSON instance for CUid (PICCA Frederic-Emmanuel) ---------------------------------------------------------------------- Message: 1 Date: Fri, 10 Aug 2018 08:55:09 -0400 From: David McBride <toa...@gmail.com> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: Re: [Haskell-beginners] How to write the FromJSON instance for CUid Message-ID: <can+tr4070j8kgnvh3fh1tsolwon-pyp4tzf-lrfs2yhvflv...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" I'm not sure if the maintainers would accept it. You should keep in mind that these posix types are not necessarily the same system to system as the word sizes are dependent on the architecture of the machine involved, thus different machines would have to generate different instances. If that is the case, it is probably fine to just live with orphan instances. But it would be pretty easy to ask them. On Fri, Aug 10, 2018 at 7:43 AM, PICCA Frederic-Emmanuel < frederic-emmanuel.pi...@synchrotron-soleil.fr> wrote: > > Didn't even occur to me that there would already be a Word32 instance. > Looking at the source, it absolutely deals with every case automatically. > > Great, > > now the real question ;) > > I use Generic with aeson and I endup like plenty of other with these > orphan instances definietion. > > what is the right way to deal with this. > > fill a bug against all these types and request instances for these > typeclass. > > or ? > > > Cheers > > Fred > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20180810/6c48016a/attachment-0001.html> ------------------------------ Message: 2 Date: Fri, 10 Aug 2018 13:00:32 +0000 From: PICCA Frederic-Emmanuel <frederic-emmanuel.pi...@synchrotron-soleil.fr> To: "The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell" <beginners@haskell.org> Subject: Re: [Haskell-beginners] How to write the FromJSON instance for CUid Message-ID: <a2a20ec3b8560d408356cac2fc148e53015b312...@sun-dag3.synchrotron-soleil.fr> Content-Type: text/plain; charset="us-ascii" > I'm not sure if the maintainers would accept it. > You should keep in mind that these posix types are not necessarily the same > system to system as the word sizes are dependent on the architecture of the > machine involved, thus different machines would have to generate different > instances. If that is the case, it is probably fine to just live > with > orphan instances. > But it would be pretty easy to ask them. After some reflection, is it better to ask the aeson maintainer for the instance of the maintainer of the CGid CUid maintainer ? Cheers Fred ------------------------------ Message: 3 Date: Fri, 10 Aug 2018 09:39:52 -0400 From: David McBride <toa...@gmail.com> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: Re: [Haskell-beginners] How to write the FromJSON instance for CUid Message-ID: <can+tr426kvpowkoeplosd6cfu+csmcs4rcgai-df9-hmhy7...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Since the posix types are in base, and aeson already depends on base, you would ask the aeson maintaners. On Fri, Aug 10, 2018 at 9:00 AM, PICCA Frederic-Emmanuel < frederic-emmanuel.pi...@synchrotron-soleil.fr> wrote: > > I'm not sure if the maintainers would accept it. > > > You should keep in mind that these posix types are not necessarily the > same system to system as the word sizes are dependent on the architecture > of the machine involved, thus different machines would have to generate > different instances. If that is the case, it is probably fine to just live > > with orphan instances. > > > But it would be pretty easy to ask them. > > After some reflection, is it better to ask the aeson maintainer for the > instance of the maintainer of the CGid CUid maintainer ? > > Cheers > > Fred > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20180810/612bbc1c/attachment-0001.html> ------------------------------ Message: 4 Date: Fri, 10 Aug 2018 13:46:25 +0000 From: PICCA Frederic-Emmanuel <frederic-emmanuel.pi...@synchrotron-soleil.fr> To: "The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell" <beginners@haskell.org> Subject: Re: [Haskell-beginners] How to write the FromJSON instance for CUid Message-ID: <a2a20ec3b8560d408356cac2fc148e53015b312...@sun-dag3.synchrotron-soleil.fr> Content-Type: text/plain; charset="us-ascii" Thanks Fred ------------------------------ Subject: Digest Footer _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners ------------------------------ End of Beginners Digest, Vol 122, Issue 4 *****************************************