Skip to content

Instantly share code, notes, and snippets.

Michael Cook MBCook

Block or report user

Report or block MBCook

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
MBCook / LineIntersections.hs
Last active Aug 29, 2015
DailyProgrammer #163 in Haskell
View LineIntersections.hs
-- A program to take line segments in and find intersections fast
-- Challenge from:
-- Intersection algorithm from:
import Data.Maybe -- To make Maybe handling easier
import Data.List -- So we can sort
import System.IO -- For file loading
------------------ Some types we'll use ------------------
You can’t perform that action at this time.