[Date Index] [Thread Index] [Author Index]
In the book of Gaylord et al. (1996) there is one exercise which asks (see page 113) "Given a list of points in the plane, write a function that finds the set of all distances between the points." Although there is one solution, that solution makes use of the Table and Length commands. Is it a way to define the same function using Higher-Order functions like Outer, MapThread etc? Thanks in advance for any help.