Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types of kind * -> * #24

Open
iteloo opened this issue Jan 12, 2017 · 1 comment
Open

Types of kind * -> * #24

iteloo opened this issue Jan 12, 2017 · 1 comment

Comments

@iteloo
Copy link

iteloo commented Jan 12, 2017

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)

?

@iteloo
Copy link
Author

iteloo commented Jan 12, 2017

Or even just a simple non-recursive one like

data T a = T Int

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant