mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2026-01-21 08:46:41 -05:00
another test for lists
This commit is contained in:
parent
15b421c54e
commit
ddc87518a7
1 changed files with 7 additions and 0 deletions
|
|
@ -721,6 +721,13 @@ q
|
|||
let i = abs i in
|
||||
let l1, l2 = take_drop i l in
|
||||
l1 @ l2 = l)
|
||||
;;
|
||||
|
||||
q
|
||||
(Q.pair (Q.list Q.small_int) Q.int)
|
||||
(fun (l, i) ->
|
||||
let i = abs i in
|
||||
take_drop i l = (take i l, drop i l))
|
||||
|
||||
let subs = sublists_of_len;;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue