5 lines
125 B
OCaml
5 lines
125 B
OCaml
|
let rec deoptionalise = function
|
||
|
| (Some x) :: xs -> x :: deoptionalise xs
|
||
|
| None :: xs -> deoptionalise xs
|
||
|
| [] -> []
|