tvl-depot/tvix/cli/src
Aspen Smith b7a6fc2812 refactor(tvix/eval): Make strict an EvalMode enum
Refactor the `strict` boolean passed into evaluation at the top-level to
be a (two-variant, so far) EvalMode enum of Lazy and Strict.

This is more explicit than a boolean, and if we ever add more EvalModes
it's a simple extension of the enum.

Change-Id: I3de50e74ec971011664f6cd0999d08b792118410
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12186
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: aspen <root@gws.fyi>
2024-10-12 12:27:37 +00:00
..
args.rs refactor(tvix/cli/args): remove log-level argument 2024-10-09 14:08:36 +00:00
assignment.rs feat(tvix/repl): Allow binding variables at the top-level 2024-07-05 16:40:35 +00:00
lib.rs refactor(tvix/eval): Make strict an EvalMode enum 2024-10-12 12:27:37 +00:00
main.rs refactor(tvix/eval): Make strict an EvalMode enum 2024-10-12 12:27:37 +00:00
repl.rs feat(tvix/eval): Forbid Hash{Map,Set}, use Fx instead 2024-08-07 12:38:40 +00:00