Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created September 18, 2020 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exarkun/ed204d9286cf11c807f14d7b1e2252f1 to your computer and use it in GitHub Desktop.
Save exarkun/ed204d9286cf11c807f14d7b1e2252f1 to your computer and use it in GitHub Desktop.
/home/exarkun/Work/PrivateStorage/servant-prometheus/test/Servant/PrometheusSpec.hs:79:26: error:
• No instance for (SP.HasEndpoints
(StreamBody'
'[Description "netstring"]
NetstringFraming
JSON
(Servant.Types.SourceT.SourceT IO Int)
:> Stream
'GET
200
NetstringFraming
JSON
(Servant.Types.SourceT.SourceT IO Int)))
arising from a use of ‘SP.monitorServant’
• In the expression:
SP.monitorServant comprehensiveAPI undefined undefined undefined
In an equation for ‘_typeLevelTest’:
_typeLevelTest
= SP.monitorServant comprehensiveAPI undefined undefined undefined
In the second argument of ‘($)’, namely
‘do let _typeLevelTest
= SP.monitorServant comprehensiveAPI undefined undefined undefined
True `shouldBe` True’
|
79 | let _typeLevelTest = SP.monitorServant comprehensiveAPI undefined undefined undefined
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment