[Haskell-cafe] Find a point inside (x,y,z) -> Bool

Imants Cekusins imantc at gmail.com
Thu Oct 29 11:32:09 UTC 2015


> finding points inside a shape

Any hints about how a point thus found would be used?

if any such point is fit, why not make a ref point part of shape
definition: define the shape as

type Coord= (Int,Int,Int)
type IsWithin=Coord ->Bool
type Shape= (Coord, IsWithin)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20151029/04964aa7/attachment.html>


More information about the Haskell-Cafe mailing list