[ create a new paste ] login | about

Link: http://codepad.org/PYsMu3x8    [ raw code | fork ]

OCaml, pasted on Nov 2:
1
2
3
4
5
let (&) f g = f g

let rec subseq = function
  | [] -> [""]
  | h::t -> List.append (subseq t) & List.map (fun x -> h ^ x) (subseq t)


Create a new paste based on this one


Comments: