We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This function should have the following signature:
val insertNoOverride : 'key 'value 'id Map.t -> key:'key -> 'value -> ( 'key 'value 'id Map.t) 'value Result.t
It should return an Ok containing the newly update map *if key has not already been set.
Ok
key
If it has it should return an Error containing the existing value for the key.
Error
Open to suggestions for the name. Some inspiration:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This function should have the following signature:
It should return an
Ok
containing the newly update map *ifkey
has not already been set.If it has it should return an
Error
containing the existing value for the key.Open to suggestions for the name. Some inspiration:
The text was updated successfully, but these errors were encountered: