Paste: change-at quote affecting assoc

Author: rien
Mode: factor
Date: Fri, 14 Oct 2011 17:40:52
Plain Text |
( scratchpad ) :: doit ( key assoc quot -- ) key assoc quot '[ key assoc [ 90 + ] change-at _ call ] change-at ; inline
( scratchpad ) H{ { "a" 0 } } dup "a" swap [ 1 + ] doit

--- Data stack:
H{ { "a" 1 } }

New Annotation

Summary:
Author:
Mode:
Body: