mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Use distributeFor instead of bidistributeFor in Util too.
This commit is contained in:
parent
47fc8172ca
commit
92a3c82259
@ -211,7 +211,7 @@ diffWithParser ::
|
||||
-> Task (Diff syntax (Record (Maybe Declaration ': fields)) (Record (Maybe Declaration ': fields)))
|
||||
diffWithParser parser = run (\ blob -> parse parser blob >>= decorate (declarationAlgebra blob))
|
||||
where
|
||||
run parse blobs = bidistributeFor (runJoin blobs) (WrapTask . parse) (WrapTask . parse) >>= diffTermPair diffTerms
|
||||
run parse blobs = distributeFor blobs (WrapTask . parse) >>= diffTermPair diffTerms . runJoin
|
||||
|
||||
diffBlobWithParser ::
|
||||
( HasField fields Data.Span.Span
|
||||
|
Loading…
Reference in New Issue
Block a user