dhall-lsp-server-1.0.0

Safe HaskellNone
LanguageHaskell2010

Dhall.LSP.Backend.Freezing

Synopsis

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.