class
Analyzer::Haskell::Servant
- Analyzer::Haskell::Servant
- Analyzer
- Reference
- Object
Defined in:
analyzer/analyzers/haskell/servant.crConstant Summary
-
HTTP_METHOD_VERBS =
["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"] of ::String -
MAX_EXPANSION_BYTES =
1000000 -
visitedonly blocks cycles along one path, not repeated sibling expansions (type A = B :<|> Bdoubles each level -> O(2^N)). Cap the total expanded size so a crafted alias chain can't hang/OOM the scan; real Servant bodies expand to far under this, so output is unchanged.