3 releases
0.1.2 | Dec 18, 2021 |
---|---|
0.1.1 | Dec 18, 2021 |
0.1.0 | Dec 18, 2021 |
#6 in #automating
4KB
73 lines
Description
This library allows to easily read any number from stdin.
Functions
- read_num - returns Result<Number, Error>
- read_num_with_delimiters - same as read_num, except it also accepts list of delimiters
- read_and_handle - infinite loop that breaks on successfull number parse
- read_and_handle_with_delimiters - same as read_and_handle, except it also accepts list of delimiters
Dependencies
~150KB