Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- computeSemanticHash :: FileIdentifier -> Expr Src Import -> Cache -> IO (Either DhallError (Cache, Text))
- getAllImportsWithHashPositions :: Expr Src Import -> [(Import, Range)]
- getImportHashPosition :: Src -> Maybe Range
- stripHash :: Import -> Import
Documentation
computeSemanticHash :: FileIdentifier -> Expr Src Import -> Cache -> IO (Either DhallError (Cache, Text)) Source #
Given an expression (potentially still containing imports) compute its
semantic
hash in the textual representation used to freeze Dhall imports.