Skip to content

Commit

Permalink
chore: 💚 fix CI failed for ocaml 4.13
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshihiro503 committed Jun 27, 2024
1 parent 4c5042d commit 81f7446
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/common.ml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ module Seq = struct
if n < 0 then invalid_arg "Seq.take";
take_aux n xs

let rec ints i = fun () -> Cons (i, ints (succ i))

let range a b = take (b - a + 1) (ints a)
let (--) a b = range a b

Expand Down

0 comments on commit 81f7446

Please sign in to comment.