cjeris changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/
malc_ has quit ["leaving"]
mikeX has quit ["leaving"]
bzzbzz has joined #ocaml
mbishop has quit ["Leaving"]
tautologico has joined #ocaml
shawn_ has joined #ocaml
Smerdyakov has quit ["Leaving"]
mbishop has joined #ocaml
Z4rd0Z has joined #ocaml
bluestorm_ has joined #ocaml
bluestorm_ has quit ["Konversation terminated!"]
tautologico has quit []
Z4rd0Z has quit []
Submarine has quit ["Leaving"]
benny_ has joined #ocaml
kowey has joined #ocaml
benny has quit [Read error: 110 (Connection timed out)]
joshcryer has joined #ocaml
love-pingoo has joined #ocaml
kowey has quit []
johnnowak has quit []
love-pingoo has quit ["Connection reset by pear"]
Mr_Awesome has quit ["...and the Awesome level drops"]
jlouis has quit [Remote closed the connection]
love-pingoo has joined #ocaml
dark_light has joined #ocaml
<dark_light> is there a way to make a module type compatible with its own definition? like in http://ocaml.1t2.us/390
<dark_light> i tried module Celula with type t = int * int and some other variations, but the manual seems to say only about the functor type compatibility
jacobian has joined #ocaml
<flux> hmm
<flux> Set.Make.exists has signature val exists : (elt -> bool) -> t -> bool
<flux> you're using it t -> int * int -> bool ?
<flux> are you thinking Set.Make.mem?
<flux> let f g = Vida.mem (1, 2) g works
<flux> I don't know what you're trying :)
malc_ has joined #ocaml
mikeX has joined #ocaml
oscar_h has quit ["leaving"]
shawn_ has quit [Read error: 110 (Connection timed out)]
Z4rd0Z has joined #ocaml
<dark_light> flux, oh. you are right :) i just misread the Set.Make.exists
malc_ has quit ["leaving"]
<dark_light> i completed a really simple conway's game of life simulator. if someone wants to play with it, http://ocaml.1t2.us/391 (unfortunately there is no gui)
<dark_light> (hm, actually http://ocaml.1t2.us/392 , correcting a typo)
<dark_light> working with fold functions is really hard for me :o anyway, i am leaving now, []s
<flux> it's quite clean piece of code
<flux> +a
swater has joined #ocaml
Riesz has quit [Success]
zhllg has left #ocaml []
benny_ has quit [zelazny.freenode.net irc.freenode.net]
slipstream has quit [zelazny.freenode.net irc.freenode.net]
pstickne_ has quit [zelazny.freenode.net irc.freenode.net]
fremo has quit [zelazny.freenode.net irc.freenode.net]
benny_ has joined #ocaml
slipstream has joined #ocaml
pstickne_ has joined #ocaml
fremo has joined #ocaml
Smerdyakov has joined #ocaml
cjeris has joined #ocaml
love-pingoo has quit ["Leaving"]
vital303 has joined #ocaml
pango has quit [Remote closed the connection]
bluestorm_ has joined #ocaml
pango has joined #ocaml
bluestorm_ has quit [Remote closed the connection]
smimou has joined #ocaml
love-pingoo has joined #ocaml
rossberg_ has joined #ocaml
Riesz has joined #ocaml
gim has joined #ocaml
danly has quit [Read error: 110 (Connection timed out)]
postalchris has joined #ocaml
a-priori__ is now known as a-priori
vital303 has quit [Read error: 110 (Connection timed out)]
zarvok has joined #ocaml
Shreps has quit ["Rejoignez-nous sur #Shinigami-Kami @ irc.Recycled-irc.Net"]
Submarine has joined #ocaml
zarvok has quit ["My damn controlling terminal disappeared!"]
malc_ has joined #ocaml
zarvok has joined #ocaml
<zarvok> anyone familiar with the lablgl library?
<zarvok> in particular, I don't understand the type of GlPix.draw
<zarvok> I feel like there should be another argument
<malc_> zarvok: what for?
<zarvok> I don't understand how to specify the actual array I want to draw
<zarvok> I see the arguments for kind and format, width and height
<zarvok> but err, well
<zarvok> let me back up, I suppose
<zarvok> GlPix.draw takes a GlPix.t
<zarvok> I can get one of those using the GlPix.create function
rossberg_ has left #ocaml []
<malc_> it takes raw.t
<malc_> in the end
<zarvok> which one does?
<malc_> external draw :
<malc_> width:int -> height:int -> format:[< format] -> [< Gl.kind] Raw.t -> unit
<malc_> = "ml_glDrawPixels"
<malc_> let draw img =
<malc_> draw img.raw ~width:img.width ~height:img.height ~format:img.format
<zarvok> I see, of_raw
<zarvok> funny, that's not the type for draw I see in the docs
<zarvok> but I think I understand how to do it now using of_raw
<zarvok> thanks for your help!
<malc_> np
swater has quit [Read error: 110 (Connection timed out)]
swater has joined #ocaml
Z4rd0Z has quit []
Mr_Awesome has joined #ocaml
benny_ is now known as klapmuetz
swater has quit ["Quat"]
cjeris has quit [Read error: 104 (Connection reset by peer)]
descender has quit ["Elegance has the disadvantage that hard work is needed to achieve it and a good education to appreciate it. - E. W. Dijkstra"]
descender has joined #ocaml
jwt has joined #ocaml
bluestorm_ has joined #ocaml
eroyf has quit [Connection timed out]
eroyf has joined #ocaml
postalchris has quit [Read error: 110 (Connection timed out)]
mikeX has quit ["leaving"]
love-pingoo has quit ["Connection reset by pear"]
bluestorm_ has quit ["Konversation terminated!"]