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

Multiple types in one string #20

Open
padzikm opened this issue Apr 17, 2024 · 0 comments
Open

Multiple types in one string #20

padzikm opened this issue Apr 17, 2024 · 0 comments

Comments

@padzikm
Copy link

padzikm commented Apr 17, 2024

Hi, great library!! Is it possible to have multiple data types in one string? It is especially useful with types referencing types like 'data Game = NotStarted | WonPlayer1 Result | WonPlayer2 Result' and 'data Result = Result { player1Points :: number, player2Points :: number }'

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