<p dir="ltr">> finding points inside a shape</p>
<p dir="ltr">Any hints about how a point thus found would be used?</p>
<p dir="ltr">if any such point is fit, why not make a ref point part of shape definition: define the shape as </p>
<p dir="ltr">type Coord= (Int,Int,Int)<br>
type IsWithin=Coord ->Bool<br>
type Shape= (Coord, IsWithin)</p>