aboutsummaryrefslogtreecommitdiff
path: root/lib/basic.ml
blob: 94838ab812e9f38f88e273f7d91afe6cb01a9906 (plain)
1
2
let array_drop n arr =
  if Array.length arr < n then [||] else Array.sub arr n (max (Array.length arr - n) 0)