fable-compiler / Fable.Lit

Write Fable Elmish apps with Lit
https://fable.io/Fable.Lit/
MIT License
91 stars 13 forks source link

hasChanged and currying problems #79

Open OnurGumus opened 1 year ago

OnurGumus commented 1 year ago

I am trying to use hasChanged

when I give a function as in below

hasChanged = fun x y -> printf "%A" (x,y); false

it never runs

When I do below

hasChanged = fun(x, y) -> printf "%A" (x,y); false

It fires but tuplizes the first argument and second arg is missing.


Func<_,_,_>``` trick won't help either. Don't fire.