Dhall-haskell: Extend the --no-cache flag to `dhall type` and `dhall resolve`

Created on 6 Oct 2019  路  5Comments  路  Source: dhall-lang/dhall-haskell

https://github.com/dhall-lang/dhall-haskell/commit/37f819c8bb8e7f7e772945cb9bde76b14110772a introduced a --no-cache flag that prevents protected imports from being read from the (伪-normalized) semantic cache. dhall resolve and dhall type should get the same option.

Hacktoberfest enhancement

Most helpful comment

btw, @sjakobi congrats for your great work with dhall-haskell in general and for help hacktoberfest participants

All 5 comments

Maybe we should avoid the warning about missing cache if user are using that flag?

Maybe we should avoid the warning about missing cache if user are using that flag?

That seems reasonable! Note that with --no-cache, dhall will still try to use the semi-semantic cache, e.g. ~/.cache/dhall-haskell but I think it's fine to turn off the warning completely.

For reference, the warning was introduced in https://github.com/dhall-lang/dhall-haskell/commit/08747af8d30a9bcf11490076cdfc8eeca0e6c305.

btw, @sjakobi congrats for your great work with dhall-haskell in general and for help hacktoberfest participants

For reference, the warning was introduced in 08747af

Yeah, turn off it could be done at top level, where we have at hand the command and flags

Fixed by #1434, #1436 and #1441. Thank you @StevenXL! :)

Was this page helpful?
0 / 5 - 0 ratings