Fix error in the docs for assoc-map.
parent
92834c3aba
commit
6745e0dad9
|
@ -214,7 +214,7 @@ HELP: assoc-map
|
|||
{ $examples
|
||||
{ $unchecked-example
|
||||
": discount ( prices n -- newprices )"
|
||||
" [ - ] curry assoc-each ;"
|
||||
" [ - ] curry assoc-map ;"
|
||||
"H{ { \"bananas\" 5 } { \"apples\" 42 } { \"pears\" 17 } }"
|
||||
"2 discount ."
|
||||
"H{ { \"bananas\" 3 } { \"apples\" 39 } { \"pears\" 15 } }"
|
||||
|
|
Loading…
Reference in New Issue