How about this?

type Thing =
  Foo
  | Bar
  | Baz


type ThingList = List Thing



That way, you can simply do:

List.length ThingList

-- 
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.

Reply via email to