Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
Summary: Applying pepeiborra's suggestion from D53090512

Reviewed By: pepeiborra

Differential Revision: D53126339

fbshipit-source-id: fdfe46d42789cd98d35bef052047ac53f84962d9
  • Loading branch information
Simon Marlow authored and facebook-github-bot committed Jan 26, 2024
1 parent 1b28291 commit 83fd629
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions glean/haxl/Haxl/DataSource/Glean.hs
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ search_
:: (Typeable q, Show q, HasRepo u)
=> Query q
-> GenHaxl u w [q]
search_ q = haxlRepo >>= \repo ->
fmap (fromAppendList . fst) $ dataFetch $ mkQueryReq repo q True
search_ = fmap fromAppendList . searchWith

searchWith
:: (Typeable r, Show r, Typeable q, Show q, HasRepo u, QueryResult q r)
Expand Down

0 comments on commit 83fd629

Please sign in to comment.