mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
Tidy diffBlobWithParser.
This commit is contained in:
parent
d0a1bcabf9
commit
df5d16e424
@ -260,6 +260,4 @@ diffBlobWithParser :: ( HasField fields Data.Span.Span
|
||||
=> Parser (Term syntax (Record fields))
|
||||
-> Blob
|
||||
-> Task (Term syntax (Record (Maybe Declaration : fields)))
|
||||
diffBlobWithParser parser = run (\ blob -> parse parser blob >>= decorate (declarationAlgebra blob))
|
||||
where
|
||||
run parse = parse
|
||||
diffBlobWithParser parser blob = parse parser blob >>= decorate (declarationAlgebra blob)
|
||||
|
Loading…
Reference in New Issue
Block a user