orwith 0.1.3

Turns the word "orwith" into a programmatical concept using Rust.
Documentation
  • Coverage
  • 92.31%
    12 out of 13 items documented1 out of 9 items with examples
  • Size
  • Source code size: 4.46 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.41 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CalinZBaenen

Orwith

What is this crate?

This crate, orwith, is a Rust crate that turns the word "orwith" into a programmatical concept by abstracting the idea of "and/or" and encapsulating it in an Option-like type.

Why was this crate created?

This crate was created as an example on DEV of how something, in particular, a word, could be represented as a type in a programming language; the word I so happened to choose was "orwith".

What does "orwith" mean?

"Orwith" is a compound of English "or" and English "with".
The definition can for "orwith" can be found on DeviantArt, in the post “Def: Orwith”.

conjunction. Orwith:

  1. Expressing that, of two things, one or both are viable alternatives.

Ex.
"I want the green orwith blue rocks."
"Audio orwith video components."
"I can work alone orwith others."
"Do you like your coffee black orwith cream and sugar?"