0

H,

I am trying to do pattern matching, but the input to the function is a curried function, how can you pattern match something like that?

Can anyone show me some examples please?

omega
  • 40,311
  • 81
  • 251
  • 474

1 Answers1

0

If I understand you correctly, then you are trying to pattern match the function you get as input?

That is not possible. A function doesn't have a structure so it doesn't really make sense to try and do that.

Jesper.Reenberg
  • 5,944
  • 23
  • 31