我可以使用 来评估 dhall 表达式dhall --file ...
,并且可以1 + 1
在 repl 中进行评估,但是将let
表达式键入dhall repl
失败并显示“输入意外结束”。
➜ cat test.dhall
let x = 1
let y = 2
in x + y
➜ ~ dhall --file test.dhall
3
➜ ~ dhall repl
Welcome to the Dhall v1.41.0 REPL! Type :help for more information.
⊢ let x = 1
Error: Invalid input
(input):2:1:
|
2 | <empty line>
| ^
unexpected end of input
expecting "→", ->, :, keyword, or whitespace
⊢ 1 + 1
2