mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
Add a Direction type.
This commit is contained in:
parent
aa01343a95
commit
a2ef23491c
@ -18,6 +18,7 @@ data Snake = Snake { xy :: Endpoint, uv :: Endpoint }
|
|||||||
newtype EditDistance = EditDistance { unEditDistance :: Int }
|
newtype EditDistance = EditDistance { unEditDistance :: Int }
|
||||||
newtype Diagonal = Diagonal { unDiagonal :: Int }
|
newtype Diagonal = Diagonal { unDiagonal :: Int }
|
||||||
newtype Endpoint = Endpoint { unEndpoint :: (Int, Int) }
|
newtype Endpoint = Endpoint { unEndpoint :: (Int, Int) }
|
||||||
|
data Direction = Forward | Reverse
|
||||||
|
|
||||||
|
|
||||||
decompose :: MyersF a -> Myers a
|
decompose :: MyersF a -> Myers a
|
||||||
|
Loading…
Reference in New Issue
Block a user