Skip to content

Commit

Permalink
Remove lingering guardA
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashoneyman committed Jul 26, 2023
1 parent 2e5cb5c commit 8e12442
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/src/App/Prelude.purs
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,6 @@ mapKeys k = Map.fromFoldable <<< map (Extra.lmap k) <<< (Map.toUnfoldable :: _ -
traverseKeys :: forall a b v. Ord a => Ord b => (a -> Either.Either String b) -> Extra.Map a v -> Either.Either String (Extra.Map b v)
traverseKeys k = map Map.fromFoldable <<< Extra.traverse (Extra.ltraverse k) <<< (Map.toUnfoldable :: _ -> Array _)

guardA :: forall f. Alternative f => Boolean -> f Unit
guardA = if _ then pure unit else empty

data RetryRequestError a
= AffjaxError (Affjax.Error)
| StatusError (Affjax.Response a)
Expand Down

0 comments on commit 8e12442

Please sign in to comment.