import { Union, Literal } from '../index'

const Day = Union(
  Literal('Sunday'),
  Literal('Monday'),
  Literal('Tuesday'),
  Literal('Wednesday'),
  Literal('Thursday'),
  Literal('Friday'),
  Literal('Saturday'),
)

for (const day of Day.Alternatives.map(lit => lit.value)) {
  console.log(`Good morning, it's ${day}!`)
}

Add an example of iterating over the values of a union of literals
Add an example of iterating over the values of a union of literals
