Closed mode89 closed 1 year ago
The Missing
value of Location
represents the missing
keyword, which is an import that always fails in Dhall. The as Location
import is not meant to represent the state of your filesystem at the time you run Dhall.
Basically, as Location
doesn't actually perform any IO
. It just reifies within the language what Dhall would have resolved
Oh, I see. Thank you for the explanation :)
Hi there :)
When doing the following:
the value saved in
someLocation
is alwaysLocal "/some/missing/file"
. Shouldn't it beMissing
when the file doesn't exist?I ran this code on
dhall
of version1.41.1
.