I assume if it were possible to have lists with mixed types, you'd lose some algebraic guarantees. How would you use such a list? There's probably another way to accomplish the same thing while retaining type safety.
On Friday, May 20, 2016 at 1:41:38 PM UTC-4, John Orford wrote: > > Why isn't something like > > List (A | B) > > possible? > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
