diff options
author | Aspen Smith <root@gws.fyi> | 2024-05-27T20·38-0400 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-06-01T09·04+0000 |
commit | c2f649f62e041afd75ad68ef1b4fe46a3fec8f4b (patch) | |
tree | e89afe688de536fdbf88df49fb8577d60038a32b /users/Profpatsch/shell.nix | |
parent | 4a489d930cbe727c869b3074b45e1346bf28e64c (diff) |
feat(tvix/repl): Add a command to recursively print r/8191
Add a command, :p, to evaluate an expression and recursively print the result, as if `--strict` had been passed on the command line. Demonstration of this working: ❯ cargo r --bin tvix Finished dev [unoptimized + debuginfo] target(s) in 0.27s Running `target/debug/tvix` tvix-repl> { x = (x: x) 1; } => { x = <CODE>; } :: set tvix-repl> :p { x = (x: x) 1; } => { x = 1; } :: set Change-Id: I1a81d7481160c30d2a4483c6308e25fa45f2dfdf Reviewed-on: https://cl.tvl.fyi/c/depot/+/11738 Autosubmit: aspen <root@gws.fyi> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'users/Profpatsch/shell.nix')
0 files changed, 0 insertions, 0 deletions