mirror of
https://github.com/github/semantic.git
synced 2024-12-01 09:15:01 +03:00
Reformat genericAlgorithmFor’s type signature.
This commit is contained in:
parent
e528bd3c6c
commit
c7685757d1
@ -126,7 +126,10 @@ class Diffable f where
|
||||
-> g (f b)
|
||||
subalgorithmFor _ _ _ = empty
|
||||
|
||||
genericAlgorithmFor :: (Generic1 f, GDiffable (Rep1 f)) => f term1 -> f term2 -> Algorithm term1 term2 result (f result)
|
||||
genericAlgorithmFor :: (Generic1 f, GDiffable (Rep1 f))
|
||||
=> f term1
|
||||
-> f term2
|
||||
-> Algorithm term1 term2 result (f result)
|
||||
genericAlgorithmFor a b = to1 <$> galgorithmFor (from1 a) (from1 b)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user