From 741e26dabbccb5821c79736590ad03286fe04f84 Mon Sep 17 00:00:00 2001 From: Determinant Date: Wed, 31 May 2017 21:23:39 -0400 Subject: one prob left for v9 --- 80-89/80.hs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to '80-89/80.hs') diff --git a/80-89/80.hs b/80-89/80.hs index 4dc2956..5f58f76 100644 --- a/80-89/80.hs +++ b/80-89/80.hs @@ -1,13 +1,10 @@ import Data.List (sort) -data Graph a = Graph [a] [(a, a)] - deriving (Show, Eq) +data Graph a = Graph [a] [(a, a)] deriving (Show, Eq) -data Adjacency a = Adj [(a, [a])] - deriving (Show, Eq) +data Adjacency a = Adj [(a, [a])] deriving (Show, Eq) -data Friendly a = Edge [(a, a)] - deriving (Show, Eq) +data Friendly a = Edge [(a, a)] deriving (Show, Eq) graphToAdj :: Eq a => Graph a -> Adjacency a -- cgit v1.2.3-70-g09d2