Skip to content

Commit

Permalink
Clarify a comment in the client tests
Browse files Browse the repository at this point in the history
  • Loading branch information
theophile-scrive committed Dec 8, 2024
1 parent 86b0f6a commit 9a6b240
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions servant-client/test/Servant/ClientTestUtils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ data MultipleChoicesIntResult

instance GSOP.Generic MultipleChoicesIntResult

-- The 'AsUnion' instance can also be written manually as such:
--
-- instance => AsUnion MultipleChoicesIntResponses MultipleChoicesIntResult where
-- toUnion NegativeNumber = Z (I ())
-- toUnion (Even b) = S (Z (I b))
Expand Down

0 comments on commit 9a6b240

Please sign in to comment.