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.
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".
"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. a. Being accompanied with, or outright replaced by, something (specified in the context); and/or. b. Indicating that both options are possibilities; "or with".
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?"