blob: 671b9c10475d3470c594e07da451213b9623c10d [file]
def head {α} (xs : List α) (h : xs = [] → False) : α :=
match he:xs with
| [] => h he
| x::_ => x