Time.Weekday

lib/Time/Weekday.gob

A day of the week. Weeks start on Monday, as in ISO 8601.

type Weekday : Ord = Mon | Tue | Wed | Thu | Fri | Sat | Sun
fun number : fun(Weekday) -> Int

1 for Monday through 7 for Sunday, the ISO numbering.

fun fromNumber : fun(Int) -> Option Weekday
instance Show Weekday