Advertisement
Guest User

Untitled

a guest
May 28th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.34 KB | None | 0 0
  1. let rec usun_po_15_30 (list:Wydarzenie list) =
  2.     match list with
  3.     | [] -> []
  4.     | x :: xs ->
  5.         let el = usun_po_15_30 xs
  6.         if x.Godzina.Godzina > 15 then
  7.             if x.Godzina.Minuta > 30 then
  8.                 el
  9.             else
  10.                 x :: xs
  11.         else
  12.             x :: xs
  13.  
  14. usun_po_15_30 lista_wyd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement