import { match } from "https://deno.land/x/fuzzy_octo_guacamole@v2.0.0/match.ts";
match
creates a pattern matching expression.
Use .with(pattern, handler)
to pattern match on the input.
Use .exhaustive()
or .otherwise(() => defaultValue)
to end the expression and get the result.