nushell/crates/nu-command/src/formats/to
Ian Manske 3b1d405b96
Remove the Value::Block case (#12582)
# Description
`Value` describes the types of first-class values that users and scripts
can create, manipulate, pass around, and store. However, `Block`s are
not first-class values in the language, so this PR removes it from
`Value`. This removes some unnecessary code, and this change should be
invisible to the user except for the change to `scope modules` described
below.

# User-Facing Changes
Breaking change: the output of `scope modules` was changed so that
`env_block` is now `has_env_block` which is a boolean value instead of a
`Block`.

# After Submitting
Update the language guide possibly.
2024-04-21 07:03:33 +02:00
..
command.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
csv.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
delimited.rs Rename Value::CustomValue to Value::Custom (#12309) 2024-03-27 22:10:56 +01:00
json.rs Remove the Value::Block case (#12582) 2024-04-21 07:03:33 +02:00
md.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
mod.rs create nuon crate from from nuon and to nuon (#12553) 2024-04-19 13:54:16 +02:00
nuon.rs add "to nuon" enumeration of possible styles (#12591) 2024-04-20 11:40:52 +02:00
text.rs Remove the Value::Block case (#12582) 2024-04-21 07:03:33 +02:00
toml.rs Remove the Value::Block case (#12582) 2024-04-21 07:03:33 +02:00
tsv.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
xml.rs Copy-on-write for record values (#12305) 2024-04-14 01:42:03 +00:00
yaml.rs Remove the Value::Block case (#12582) 2024-04-21 07:03:33 +02:00