-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add Dict
and Set
primitive for Map, HashMap, IntMan, Set, HashSet and IntSet
#26
Comments
Some updates on this issue: I have taken a stab at implementing this and my wip can be found in the branch This is straightforward for types of I'm not sure how useful the idea of implementing this only in the scenerio where the map key is a |
@arbus Am I understanding correctly that the main problem here is that you can't have data types like |
Yes that is correct, only things that are From the documentation:
|
@arbus Okay, in that case I propose to put this issue on hold and keep your branch. It contains useful code for this feature. I also think that using |
For the record these 2 packages (of mine, sorry for shameless promotion) are solving problem with Anyway, generating code for this would be still challenging become it would require generating My suggestion would be to:
|
Elm has standard data types called
Dict
andSet
for container packages:It's probably a good idea to support them too for common Haskell containers.
The text was updated successfully, but these errors were encountered: