Open loredanacirstea opened 4 years ago
Map with native function fixed: https://github.com/loredanacirstea/taylor/commit/a5aefe6ca18db2f88723fdb18e94ebdf36320925
Reduce with native function fixed: https://github.com/loredanacirstea/taylor/commit/6b93338c01f96a6dd488557c8507abf818e2345a
map
&reduce
work with stored functions. E.g.(map _myfunc (list 5 8 2))
, where_myfunc
is stored on-chain, works.But they don't work with native functions (e.g.
(map add (list 5 8 2))
) or lambdas (e.g.(map (fn* (a) (mul (add a 1) 3)) (list 5 8 2))
.