RosettaCodeData/Task/Bitmap/OCaml/bitmap-5.ocaml
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

6 lines
144 B
Text

let get_pixel_unsafe (_, r_channel, g_channel, b_channel) =
(fun x y ->
(r_channel.{x,y},
g_channel.{x,y},
b_channel.{x,y})
)