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