Sintrastes / hafly

Dynamic embeddable scripting language in Haskell.
https://sintrastes.github.io/hafly
GNU Affero General Public License v3.0
3 stars 0 forks source link

Fix higher-order functions taking multi-argument functions as input. #29

Closed Sintrastes closed 1 year ago

Sintrastes commented 1 year ago

Currently, examples such as foldr (\x y -> x + y) 0 [1,2,3,4,5] do not evaluate properly.

I believe this has to do with lambdas always having type Dynamic -> Dynamic.