Open iteloo opened 7 years ago
Are parametrized types supported? E.g. How would I turn a Haskell type
data Tree a = Leaf a | Node (Tree a) (Tree a) deriving (Generic, ElmType)
into an Elm declaration
type Tree a = Leaf a | Node (Tree a) (Tree a)
?
Or even just a simple non-recursive one like
data T a = T Int
Are parametrized types supported? E.g. How would I turn a Haskell type
into an Elm declaration
?