Re: [elm-discuss] Re: 'comparable' recrods and union types?
Also, maybe you want to make a habit of first checking the http://faq.elm-community.org/. Some questions you come with here are readily answered there. For example, you would only have had to enter “comparable” into the search box there to be pointed to two useful question/answer pairs that might have helped you a lot: http://faq.elm-community.org/#does-elm-have-ad-hoc-polymorphism-or-typeclasses http://faq.elm-community.org/#which-special-type-variables-are-there-and-how-do-they-work 2016-09-21 15:42 GMT+02:00 Janis Voigtländer : > Yes, there is. Here: http://package.elm-lang.org/ > packages/elm-lang/core/4.0.5/Basics#compare > > > 2016-09-21 15:36 GMT+02:00 'Rupert Smith' via Elm Discuss < > elm-discuss@googlegroups.com>: > >> On Wednesday, September 21, 2016 at 2:29:44 PM UTC+1, Rupert Smith wrote: >>> >>> There is an issue here noting that there is no way to make records or >>> union types 'comparable': >>> >>> https://github.com/elm-lang/elm-compiler/issues/774 >>> >>> Closed. Has this feature been implemented, or is it something that is >>> not on the radar? >>> >> >> Also, is there a complete list of all 'comparable' types somewhere in the >> docs? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Elm Discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to elm-discuss+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [elm-discuss] Re: 'comparable' recrods and union types?
Yes, there is. Here: http://package.elm-lang.org/packages/elm-lang/core/4.0.5/Basics#compare 2016-09-21 15:36 GMT+02:00 'Rupert Smith' via Elm Discuss < elm-discuss@googlegroups.com>: > On Wednesday, September 21, 2016 at 2:29:44 PM UTC+1, Rupert Smith wrote: >> >> There is an issue here noting that there is no way to make records or >> union types 'comparable': >> >> https://github.com/elm-lang/elm-compiler/issues/774 >> >> Closed. Has this feature been implemented, or is it something that is not >> on the radar? >> > > Also, is there a complete list of all 'comparable' types somewhere in the > docs? > > -- > You received this message because you are subscribed to the Google Groups > "Elm Discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elm-discuss+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[elm-discuss] Re: 'comparable' recrods and union types?
On Wednesday, September 21, 2016 at 2:29:44 PM UTC+1, Rupert Smith wrote: > > There is an issue here noting that there is no way to make records or > union types 'comparable': > > https://github.com/elm-lang/elm-compiler/issues/774 > > Closed. Has this feature been implemented, or is it something that is not > on the radar? > Also, is there a complete list of all 'comparable' types somewhere in the docs? -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.