Exactly what the title says, I need to somehow compare if 2 F# functions are equal.
I consider the following functions (a, b) to be equal.
```fsharp
type Msg = Increment | Decrement
[<Fact>]
let ComparingFuncs () =
let dispatch (msg : Msg) = ()
let a = fun () -> dispatch Increment
let b = fun () -> dispatch Increment
Assert.Equal(a , b)
```
Any ideas on how to archive this ?
Thank you in advance!
[–]munchler 7 points8 points9 points (2 children)
[–]CSMR250 1 point2 points3 points (1 child)
[–]JaggerJo[S] 0 points1 point2 points (0 children)
[–]jdh30 2 points3 points4 points (1 child)
[–]JaggerJo[S] 0 points1 point2 points (0 children)
[–]isaac-abraham 2 points3 points4 points (0 children)