We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 710da2a commit dcb767dCopy full SHA for dcb767d
handson_activity/act04_quicksort/quicksort_reference.ml
@@ -3,7 +3,7 @@ open! Base
3
module Printf = struct
4
include Printf
5
6
- let printf fmt = Printf.ksprintf print_string fmt
+ let printf fmt = Printf.ksprintf (Stdio.Out_channel.output_string Stdio.stdout) fmt
7
end
8
9
module Slice = struct
@@ -15,7 +15,7 @@ module Slice = struct
15
let set {array; start; _} i v =
16
array.(start + i) <- v
17
18
- let length {array: _; start; stop} =
+ let length {start; stop; _} =
19
stop - start
20
21
let sub t ~i ~j =
0 commit comments