Skip to content

Instantly share code, notes, and snippets.

@nmorse
Created October 9, 2018 16:38
Show Gist options
  • Save nmorse/7dc399aad4cd48140c226386ebce0867 to your computer and use it in GitHub Desktop.
Save nmorse/7dc399aad4cd48140c226386ebce0867 to your computer and use it in GitHub Desktop.
Pounce Update a map value
# simply updates a poperty in a map
[[dup] dip [get] dip2 dip set] [update] def
{u:6} u [1 +] update
{x:1 y:2} x [1 +] update y [1 -] update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment