Isoraqathedh

Untitled

Jan 7th, 2014
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.33 KB | None | 0 0
  1. (multiple-value-bind (from-latitude from-longitude) (coordinates place1)
  2.   (multiple-value-bind (to-latitude to-longitude) (coordinates place2)
  3.     (let (distance (great-circle-distance (from-longitude from-latitude to-longitude to-latitude)))
  4.          (format NIL "Distance: ~a km" distance)
  5.          (transport-time distance))))
Advertisement
Add Comment
Please, Sign In to add comment