Hi Travis, This is something I stumbled over recently as well. As others pointed out, declaring "type alias" also creates constructor for that type. However this only works for records. So in your example Foo "herp" works, because Foo is *explicitly* defined as a record, but Derp "herp" doesn't. This is a bit confusing (Foo and Derp should be the same thing, right?), but it's just how aliases currently work. You're certainly not the first person to hit this https://github.com/elm-lang/elm-compiler/issues/1019, probably it could be stated more directly in the guide
-- 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.
