-
Notifications
You must be signed in to change notification settings - Fork 45
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
Support Erlang maps in 17.x #38
Comments
Either that or not add special syntax but go through some procedures like map/3/4: map(Key, Map, Value) Something like you suggested for records. I don't know but it needs considering as being able to handle maps would be useful (for example for JSON). |
I think in the long term a more expressive syntax is probably better, but in the short run this might be a better way to at least get access to the data |
We are still going to need some syntax so we can print them, and in the long run enter them. Unfortunately we can't use a straight |
how we mirror the erlang syntax |
The other question is that if we add this, can we also continue to support pre 17 versions of Erlang? |
You can if you are a bit cunning and first check which version of erlang Did this in LFE. Robert From my Nexus |
We should support maps as a data structure. SWI Prolog has a syntax for something similar (Dicts) http://www.swi-prolog.org/pldoc/man?section=dicts I think adapting it wholesale might be a good place to start, but lets talk about it
@rvirding
The text was updated successfully, but these errors were encountered: