Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
Hi! I've used Dhall a fair bit in the past, but it's been about a year since I've touched it. Now I find that I cannot import prelude without getting a big list of Error: Unbound variable: Text/replace errors.
Error: Unbound variable: Text/replace
This results from, e.g.,
dhall --no-cache <<< 'https://prelude.dhall-lang.org/package.dhall'
But also from any attempt to use Prelude in a config. I expect I'm missing something simple, but would appreciate a pointer!
An example of these errors:
Error: Failed to resolve imports. Error list: ↳ https://prelude.dhall-lang.org/package.dhall ↳ https://prelude.dhall-lang.org/JSON/package.dhall sha256:5f98b7722fd13509ef448b075e02b9ff98312ae7a406cf53ed25012dbc9990ac ↳ https://prelude.dhall-lang.org/JSON/render.dhall sha256:36befdd8bb5a1c2b372709da245a8d074533b86429e137b894c08ad16fa34836 ↳ https://prelude.dhall-lang.org/JSON/renderAs.dhall sha256:c23be039c9601a33d6546fd99a8d72bee8dde5f46176d57cc96613b31a3bb471 Error: Unbound variable: Text/replace 198│ Text/replace https://prelude.dhall-lang.org/JSON/renderAs.dhall:198:11 ↳ https://prelude.dhall-lang.org/package.dhall ↳ https://prelude.dhall-lang.org/JSON/package.dhall sha256:5f98b7722fd13509ef448b075e02b9ff98312ae7a406cf53ed25012dbc9990ac ↳ https://prelude.dhall-lang.org/JSON/render.dhall sha256:36befdd8bb5a1c2b372709da245a8d074533b86429e137b894c08ad16fa34836 ↳ https://prelude.dhall-lang.org/JSON/renderAs.dhall
Any pointers would be greatly appreciated!
I ended up fixing this by upgrading my version of Dhall
Hi! I've used Dhall a fair bit in the past, but it's been about a year since I've touched it. Now I find that I cannot import prelude without getting a big list of
Error: Unbound variable: Text/replace
errors.This results from, e.g.,
But also from any attempt to use Prelude in a config. I expect I'm missing something simple, but would appreciate a pointer!
An example of these errors:
Any pointers would be greatly appreciated!
I ended up fixing this by upgrading my version of Dhall