Skip to content

Commit

Permalink
Type-level errors for HasLink for invalid combinators
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Condoluci authored and tchoutri committed Jun 29, 2024
1 parent 3d37521 commit 2a9bde9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion servant/src/Servant/Links.hs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,6 @@ simpleToLink _ toA _ = toLink toA (Proxy :: Proxy sub)
-- $setup
-- >>> import Servant.API
-- >>> import Data.Text (Text)

-- Erroring instance for 'HasLink' when a combinator is not fully applied
instance TypeError (PartialApplication
#if __GLASGOW_HASKELL__ >= 904
Expand Down

0 comments on commit 2a9bde9

Please sign in to comment.