Tag: "pattern-matching".

Found 1 posts tagged with "pattern-matching".

← Previous page Next page →

Article

[Dev.to] How to define and work with a Rust-like result type in NuShell

Logo of the dev.to blogging website.
NuShell is a very modern shell and shell language that draws some heavy inspiration from Rust and that I really enjoy writing small programs and glue code in (especially for CI/CD pipelines). In contrast to Rust, it doesn't have a Result type to model errors in code. Thanks to language features like pattern matching, however, we may easily add one.
Posted on June 21st, 2024
0 min read
← Previous page Next page →
friedrichkurz.me © 2019-2026 Friedrich Kurz Privacy Policy