1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00

Add a Direction type.

This commit is contained in:
Rob Rix 2017-03-09 10:25:08 -05:00
parent aa01343a95
commit a2ef23491c

View File

@ -18,6 +18,7 @@ data Snake = Snake { xy :: Endpoint, uv :: Endpoint }
newtype EditDistance = EditDistance { unEditDistance :: Int }
newtype Diagonal = Diagonal { unDiagonal :: Int }
newtype Endpoint = Endpoint { unEndpoint :: (Int, Int) }
data Direction = Forward | Reverse
decompose :: MyersF a -> Myers a