Crate timrs_pipe_macro
source ·Expand description
§Tim.rs: pipe_macro
Tim.rs’ pipe_macro is a Rust library that introduces pipe operators for function composition. It allows you to chain functions in a straightforward and readable way, making your code cleaner and easier to understand. If you prefer a functional programming style in Rust, pipe_macro is a simple solution to improve your code’s readability and maintainability.
§Table of Contents
§Install
Run the following command to install the pipe_macro crate:
$ cargo install timrs_pipe_macro
§Documentation
You can find the documentation for timrs_pipe_macro here, it provides all the information you need to get started
Macros§
- Macro providing the custom piping binary operators
before (|>)
andafter (<|)
, operations can be parenthesized and are left-associative.