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 e6eee14
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 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 e6eee14

Please sign in to comment.