Find the intersection of two lines: Difference between revisions
Find the intersection of two lines (view source)
Revision as of 19:30, 16 September 2018
, 5 years ago→JS ES6
(→JS ES6: Updated primitives – an Either type in lieu of a Maybe type) |
(→JS ES6) |
||
Line 615:
// INTERSECTION OF TWO LINES ----------------------------------------------
// intersection :: Line -> Line -> Either String
const intersection = ([
[ax, ay],
|