From 6de43d8a45b49bbf1a88cedd60570a019f0834c6 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Mon, 20 Apr 2020 23:49:48 +0200 Subject: [PATCH] Add doc for ALGO_REDUCE with different type --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index d662aa52..f99af0d8 100644 --- a/README.md +++ b/README.md @@ -6614,6 +6614,13 @@ The reduce function can be the special keywords 'add', 'sum', 'and', 'or' in which case the special function performing a sum/sum/and/or/mul/mul operation will be used. +'dest' can be either the variable (in which case 'dest' is +assumed to be of type equivalent to the elements of the container) +or a tuple ('var', 'oplist') with 'var' being the variable name and 'oplist' its oplist +(with TYPE, INIT, SET methods). The tuple may be needed if the map function +transform a type into another. + + #### ALGO\_INSERT\_AT(containerDst, containerDstOPLIST, position, containerSrc, containerSrcOPLIST) Insert into the container 'contDst' at position 'position' all the values