Advertisement
zxhouse

Untitled

Jan 6th, 2019
1,283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.20 KB | None | 0 0
  1. let rec wstaw(lista, element, pozycja)=
  2.    match lista with
  3.    | el::lista -> if pozycja = 0 then element::el::wstaw(lista, element, pozycja-1) else el::wstaw(lista, element, pozycja-1)
  4.    | lista -> []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement