import "Prelude" distance (x1,y1) (x2,y2) = let dx = x1-x2 dy = y1-y2 in sqrt (dx*dx + dy*dy) print x1 -- 5:58-5:60: Expected got .