I have the following user defined type:
poly = Poly of (float*int) list
and I'm trying to apply pattern matching, however I'm struggling with the case where my Poly is not an empty list, my last try was
Poly [(x,y)::xs]
but I know that it is completely wrong I just struggle formulating it.