Fenrir112

Untitled

Nov 10th, 2013
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     let x1 = [ ('a',1); ('b',2); ('c',3); ('d',4) ] // (<масть>,<достоинство>)
  2.     let search A =
  3.         A |> List.filter (fun (x,y) -> x='a')
  4.    
  5.     printf "%A\n" ("Задание 2")
  6.     printfn "%A" (search x1)
Advertisement
Add Comment
Please, Sign In to add comment