Open fryguybob opened 11 years ago
I don't think I have time to look too closely at this right now, but I like the idea. One additional suggestion would be to insert the 'source' parameter as the second one, so 'BSpline v' would be a somewhat arrow-like type. I'm not sure if there are any nice properties that it would satisfy, but if it happened to it would be more likely to fit into the relevant type class that way.
You could avoid the
Scalar v ~ Scalar (Scalar v)
constraints by having a type belowBSpline
that takes the scalar type as a parameter. Something like: