1
0
mirror of https://github.com/nushell/nushell.git synced 2025-07-27 05:54:42 +02:00
Files
nushell/crates/nu-command/src/core_commands
Stefan Holderbach 735a7a21bd Add example showing first class closure to do ()
# Description

Demonstrates that you can use `do` to execute stored closures and
evaluate their captures properly.

# Tests + Formatting

As an example test increases coverage of the usage to execute first
class closures.
Additional tests using that found in
`tests/shell/pipeline/commands/internal.rs`
2022-12-14 20:55:00 +01:00
..
2022-12-08 07:31:57 +13:00
2022-12-08 07:31:57 +13:00
2022-12-08 07:31:57 +13:00
2022-12-08 07:31:57 +13:00
2022-12-08 07:31:57 +13:00
2022-12-08 07:31:57 +13:00
2022-12-08 08:58:54 +13:00
2022-12-08 07:31:57 +13:00
2022-12-08 07:31:57 +13:00
2022-11-27 21:03:17 +13:00
2022-12-08 07:31:57 +13:00
2022-12-08 07:31:57 +13:00