Advertisement
Fenrir112

F# 1.4

Nov 10th, 2013
5
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.16 KB | None | 0 0
  1. let a = [ [1] ; [2;8;9] ; [3] ; [4] ; [5;10] ; [6] ; [7] ]
  2. let rec del = fun N ->
  3.     if N == 1 then del(List.tail 0)
  4.     else
  5.         List.head :: del(List.tail 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement