Fable.Lit icon indicating copy to clipboard operation
Fable.Lit copied to clipboard

hasChanged and currying problems

Open OnurGumus opened this issue 1 year ago • 0 comments

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.

OnurGumus avatar Feb 12 '23 19:02 OnurGumus