adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml MOOC http://1149.fr/ocaml-mooc | OCaml 4.02.3 announced http://ocaml.org/releases/4.02.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
silver has quit [Quit: rakede]
cdidd has quit [Remote host closed the connection]
fluter has quit [Ping timeout: 246 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
nicholasf has quit [Remote host closed the connection]
groovy2shoes has joined #ocaml
nicholasf has joined #ocaml
Simn has joined #ocaml
nicholasf has quit [Ping timeout: 248 seconds]
nicholasf has joined #ocaml
cdidd has joined #ocaml
fluter has joined #ocaml
noddy has quit [Ping timeout: 276 seconds]
aantron has quit [Remote host closed the connection]
nicholasf has quit [Remote host closed the connection]
Simn has quit [Quit: Leaving]
nicholasf has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
breitenj has joined #ocaml
manizzle has joined #ocaml
nicholasf has quit [Remote host closed the connection]
nicholasf has joined #ocaml
nichola__ has joined #ocaml
aantron has joined #ocaml
nicholasf has quit [Ping timeout: 260 seconds]
sh0t has quit [Ping timeout: 248 seconds]
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
sh0t has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
noddy has joined #ocaml
tennix has quit [Ping timeout: 248 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
nichola__ has quit [Remote host closed the connection]
nicholasf has joined #ocaml
Haudegen has quit [Ping timeout: 260 seconds]
fluter has quit [Ping timeout: 268 seconds]
Jaxan has quit [Quit: No Ping reply in 180 seconds.]
Jaxan has joined #ocaml
tennix has joined #ocaml
Jaxan has quit [Quit: No Ping reply in 180 seconds.]
Algebr has joined #ocaml
destrius has joined #ocaml
Jaxan has joined #ocaml
nichola__ has joined #ocaml
nicholasf has quit [Ping timeout: 244 seconds]
Jaxan has quit [Quit: No Ping reply in 180 seconds.]
seangrove has quit [Remote host closed the connection]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
Jaxan has joined #ocaml
seangrove has joined #ocaml
fluter has joined #ocaml
Jaxan has quit [Client Quit]
aantron has quit [Remote host closed the connection]
Jaxan has joined #ocaml
dsheets has joined #ocaml
Jaxan has quit [Quit: No Ping reply in 180 seconds.]
ollehar has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
Jaxan has joined #ocaml
Algebr has quit [Ping timeout: 268 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
larhat has quit [Quit: Leaving.]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
Algebr has joined #ocaml
nichola__ has quit [Remote host closed the connection]
nicholasf has joined #ocaml
noddy has quit [Ping timeout: 268 seconds]
Algebr has quit [Remote host closed the connection]
GeorgeHahn has quit [Read error: Connection reset by peer]
sh0t has quit [Ping timeout: 240 seconds]
Haudegen has joined #ocaml
shinnya has quit [Ping timeout: 252 seconds]
Fleurety has joined #ocaml
hyperboreean has quit [Read error: Connection reset by peer]
hyperboreean has joined #ocaml
dsheets has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
dsheets has quit [Ping timeout: 240 seconds]
nichola__ has joined #ocaml
abbiya has joined #ocaml
nicholasf has quit [Ping timeout: 244 seconds]
newbie|2 has quit [Ping timeout: 244 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
dsheets has joined #ocaml
MercurialAlchemi has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
MercurialAlchemi has quit [Ping timeout: 248 seconds]
cat5e has quit [Ping timeout: 252 seconds]
leyyin has joined #ocaml
Vintila has joined #ocaml
leyyin has quit [Quit: So Long, and Thanks for All the Fish]
MercurialAlchemi has joined #ocaml
Soni has joined #ocaml
Vintila has quit [Ping timeout: 252 seconds]
therac25 has joined #ocaml
pierpa has quit [Ping timeout: 264 seconds]
antkong has quit [Quit: antkong]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
malc_ has joined #ocaml
Soni has quit [Ping timeout: 250 seconds]
Soni has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 248 seconds]
larhat has joined #ocaml
ggole has joined #ocaml
larhat has quit [Quit: Leaving.]
larhat has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
abbiya has quit [Quit: Leaving]
Haudegen has quit [Ping timeout: 244 seconds]
yunxing has quit [Remote host closed the connection]
copy` has quit [Quit: Connection closed for inactivity]
djellemah_ has joined #ocaml
Vintila has joined #ocaml
butts_butts has joined #ocaml
freehck has joined #ocaml
slicefd has joined #ocaml
Vintila has quit [Ping timeout: 244 seconds]
butts_butts has quit [Ping timeout: 244 seconds]
Haudegen has joined #ocaml
shinnya has joined #ocaml
therac25 has quit [Quit: therac25]
djellemah_ has quit [Ping timeout: 244 seconds]
Simn has joined #ocaml
ollehar has quit [Quit: ollehar]
Soni is now known as cat5e
antkong_ has joined #ocaml
ontologiae has joined #ocaml
nichola__ has quit [Remote host closed the connection]
nicholasf has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
ygrek has quit [Ping timeout: 264 seconds]
jwatzman|work has joined #ocaml
_2can has joined #ocaml
Vintila has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
<Nazral> with notty, | `Key (`Uchar n, [`Ctrl]) when n = 113 should match ctrl+q right ?
<Nazral> because if I remove `Ctrl then it does match 'q'
<companion_cube> unless your term captures ctrl-q, I'd say yes
Sonderblade has quit [Quit: Lämnar]
jwatzman|work has quit [Quit: jwatzman|work]
darkf has quit [Quit: Leaving]
dsheets has joined #ocaml
Kakadu has quit [Quit: Page closed]
Kakadu has joined #ocaml
dsheets has quit [Ping timeout: 276 seconds]
<Nazral> well
<Nazral> it ain't working
foocraft has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
djellemah_ has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
silver has joined #ocaml
badon_ has joined #ocaml
badon has quit [Disconnected by services]
badon_ is now known as badon
nicholasf has quit [Remote host closed the connection]
dsheets has joined #ocaml
djellemah__ has joined #ocaml
antkong_ has quit [Quit: antkong_]
dsheets has quit [Ping timeout: 248 seconds]
djellemah has quit [Ping timeout: 246 seconds]
djellemah has joined #ocaml
djellemah_ has quit [Ping timeout: 244 seconds]
sgnb has joined #ocaml
sepp2k has joined #ocaml
jwatzman|work has joined #ocaml
Nahra has quit [Read error: Connection reset by peer]
Nahra has joined #ocaml
_andre has joined #ocaml
Vintila has quit [Ping timeout: 260 seconds]
kerneis has left #ocaml [#ocaml]
groovy2shoes has quit [Quit: Leaving]
djellemah has quit [Disconnected by services]
djellemah__ is now known as djellemah
djellemah_ has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
djellemah_ has quit [Ping timeout: 246 seconds]
Simn has quit [Ping timeout: 246 seconds]
Haudegen has quit [Ping timeout: 244 seconds]
JacobEdelman_ has joined #ocaml
dsheets has joined #ocaml
Simn has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
abbiya has joined #ocaml
malc_ has quit [Remote host closed the connection]
abbiya has quit [Client Quit]
antkong_ has joined #ocaml
toolslive has joined #ocaml
aantron has joined #ocaml
deko-pyon has quit [Ping timeout: 246 seconds]
copy` has joined #ocaml
antkong_ has quit [Ping timeout: 244 seconds]
antkong has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
Haudegen has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
ibor has quit [Ping timeout: 248 seconds]
Vintila has joined #ocaml
pierpa has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
jeffmo has joined #ocaml
antkong has quit [Quit: antkong]
Vintila has quit [Ping timeout: 260 seconds]
noddy has joined #ocaml
tennix has quit [Ping timeout: 260 seconds]
dsheets has quit [Remote host closed the connection]
sh0t has joined #ocaml
NingaLeaf has quit [Quit: Leaving]
dsheets has joined #ocaml
tane has joined #ocaml
TheLemonMan has joined #ocaml
Guest9007 has quit [Quit: Guest9007]
dsheets has quit [Ping timeout: 260 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
newbie has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Remote host closed the connection]
<edwin> companion_cube: sorry I was away. new qtest.qcheck looks interesting. I'm bit confused about the max_fail argument though: http://paste.debian.net/417704/ http://paste.debian.net/417705/ . max_fail:3 works as expected, it prints the failing test cases, but max_fail:1 or max_fail:2 behave in weird ways
hay207 has joined #ocaml
noddy has quit [Ping timeout: 260 seconds]
tennix has joined #ocaml
JacobEdelman_ has quit [Quit: Connection closed for inactivity]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
larhat has quit [Ping timeout: 248 seconds]
<edwin> companion_cube: looks like you don't flush the pretty printer for the exception
<edwin> in asprintf
<edwin> so depending on length of the message to print it either prints nothing or prints part of the message
MercurialAlchemi has quit [Ping timeout: 244 seconds]
shinnya has quit [Ping timeout: 264 seconds]
<edwin> after adding an explicit flush there the new qcheck works fine, will let you know if I encounter more problems
cdidd has quit [Remote host closed the connection]
abeaumont has joined #ocaml
<companion_cube> awww
eagleflo has left #ocaml [#ocaml]
<flux> nazral, I think it's more than likely your terminal (at some level) captures ctrl-q (and ctrl-s), so one would need to use tcsetattr to reconfigure that part
<edwin> I tested it with this
<companion_cube> (it's interesting that max_fail is pretty useless if shrinking is present)
<flux> nazral, perhaps Notty doesn't support configuring those yet
<edwin> let me try with @? should work just the same, moment
<toolslive> has anybody been using librdmacm together with lwt ?
<edwin> companion_cube: works fine, thanks.
<companion_cube> cool!
<companion_cube> otherwise, any comments on the interface?
<edwin> I like that I don't have to define a pp when defining the tests
<companion_cube> the QCheck_runner is brand new, and it took some work to merge stuff from qtest and from qcheck :s
<companion_cube> yeah, 'a arbitrary is cool ^^
<edwin> (if I remember to use ~rev when using map arbitrary)
<companion_cube> (also, shrinker)
<companion_cube> there is map_same, too
<companion_cube> map_same_type, sorry
<companion_cube> I will publish the API documentation online once it's released
<edwin> I'll try to use it for some code and see how it works, and then give you some feedback on the API
<companion_cube> cool, thanks
<edwin> how safe is fun1/fun2 with flambda?
<companion_cube> ?
hay207 has quit [Read error: Connection reset by peer]
hay207 has joined #ocaml
<edwin> seems you use it to retrieve the hashtbl for printing
<edwin> nice idea with fun1 otherwise
<flux> soo, has anyone tried to port qcheck to modular implicits?
ygrek has joined #ocaml
manizzle has quit [Ping timeout: 244 seconds]
<companion_cube> oh, this
<companion_cube> I have strictly no idea :S
<companion_cube> the real solution, I think, is to look at what Haskell does ("observable", I believe)
<companion_cube> but I never really looked at them
deko-pyon has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
tane has quit [Ping timeout: 252 seconds]
Haudegen has quit [Ping timeout: 248 seconds]
<ggole> What's the point of the empty object? Just to make something to use == on?
<flux> I think yes
<ggole> ref () is the traditional way to do that (and is probably a lot cheaper)
<flux> or possibly even just use Oo.id on it ;-)
Haudegen has joined #ocaml
tane has joined #ocaml
<companion_cube> yeah Oo.id should be more reasonable
<companion_cube> but the problem is typing, I think
<companion_cube> not ==
slash^ has joined #ocaml
kakadu_ has joined #ocaml
Kakadu has quit [Ping timeout: 252 seconds]
abeaumont has quit [Read error: Connection reset by peer]
ggole has quit [Ping timeout: 244 seconds]
leyyin has joined #ocaml
ibor has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
srcerer has quit [Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160210153822]]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
foocraft has quit [Remote host closed the connection]
<Nazral> flux: I think it does, the "life" example does it iirc, I'll check that, thanks !
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
mettekou has joined #ocaml
MercurialAlchemi has joined #ocaml
hay207_ has joined #ocaml
hay207 has quit [Ping timeout: 264 seconds]
hay207__ has joined #ocaml
hay207_ has quit [Ping timeout: 240 seconds]
ygrek has quit [Ping timeout: 276 seconds]
srcerer has joined #ocaml
emmanueloga has quit [Ping timeout: 260 seconds]
myst|fon has quit [Ping timeout: 260 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
sh0t has quit [Ping timeout: 240 seconds]
Emmanuel`_ has joined #ocaml
myst|fon has joined #ocaml
emmanueloga has joined #ocaml
Algebr has joined #ocaml
sh0t has joined #ocaml
yunxing has joined #ocaml
yunxing has quit [Client Quit]
sgnb has quit [Remote host closed the connection]
ontologiae has quit [Ping timeout: 276 seconds]
noddy has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
ygrek has joined #ocaml
Anarchos has joined #ocaml
sh0t has quit [Ping timeout: 268 seconds]
maverous has joined #ocaml
mettekou has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Haudegen has quit [Ping timeout: 244 seconds]
AlexRussia has quit [Ping timeout: 250 seconds]
mettekou has joined #ocaml
<please_help> any reason why this doesn't do anything? https://bpaste.net/show/fcc8a1d42fbd
<infinity0> where is there documentation on {| and |} ?
<Algebr> please_help: is that eliom with ppx? infinity0 that's just raw strings
kakadu_ has quit [Quit: Page closed]
butts_butts has joined #ocaml
<Algebr> infinity0: in the manual, 7.24 Quoted strings
<infinity0> ah thanks
deko-pyon has quit [Quit: ... the fear fades away.]
maverous has quit [Quit: WeeChat 1.3]
malc_ has joined #ocaml
<please_help> Algebr: yes.
yunxing has joined #ocaml
t4nk573 has joined #ocaml
deko-pyon has joined #ocaml
<seangrove> What's the best way to seamlessly memoize a function?
<seangrove> I see http://stackoverflow.com/questions/14454981/memoization-in-ocaml, but it requires changing the body of the function
<Algebr> ha, like a python style @memo decorator would be nice.
<flux> would be nice, yes, but I think I've only ever once memoized a function in ocaml ;-)
noddy has quit [Ping timeout: 252 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
<seangrove> I guess a ppx extension would be an easy way
<Algebr> I was thinking ppx extension too, but where would you hide the hashtable? I guess in a closure of the original func?
sh0t has joined #ocaml
Emmanuel`_ has joined #ocaml
_2can has quit [Quit: Lost terminal]
sepp2k has quit [Quit: Leaving.]
Haudegen has joined #ocaml
yunxing has quit [Remote host closed the connection]
<seangrove> Algebr: Good question - should be a fun learning experience
<flux> algebr, exactly..
* seangrove coughs
<seangrove> If anyone would like to see a OCaml unikernel talk recorded at Polyconf, please feel free to upvote here https://eventil.com/polyconf/polyconf-16/poll
<seangrove> "From Unikernels to Databases to UIs: Truly full-stack apps in OCaml"
mettekou_ has joined #ocaml
<please_help> I also get "Error: uncaught exception: 0,248,Failure,-3,initialize_nat not implemented" in the browser's js console when loading the page. I have 2 scripts generated via js_of_ocaml: one is basically a copy-paste of the examples, where the button is supposed to hide some content (this only works under very, very strict restrictions in terms of css and html structure which I have yet to figure out), the other is the
<please_help> autoreload script in that paste.
<Algebr> upvoted
mettekou has quit [Ping timeout: 240 seconds]
metteko__ has joined #ocaml
metteko__ is now known as mettekou
<seangrove> Algebr: Thanks!
mettekou_ has quit [Ping timeout: 276 seconds]
djellemah has quit [Read error: Connection reset by peer]
<seangrove> companion_cube: Thanks! It's almost certainly time I dove into containers
Anarchos has quit [Ping timeout: 250 seconds]
<companion_cube> especially since now there's a tutorial :p
hay207__ has quit [Quit: Konversation terminated!]
<seangrove> companion_cube: Is there efficient updating of immutable CCVectors?
<companion_cube> nope
hay207__ has joined #ocaml
<companion_cube> they're frozen
<seangrove> companion_cube: So no structural sharing at all then?
<seangrove> I really miss being able to take that for granted from Clojure
<companion_cube> no, it's really a vector
<companion_cube> oh I think we already discussed that
<companion_cube> maybe I should write some HAMT-based vector...
dsheets has joined #ocaml
djellemah has joined #ocaml
AlexRussia has joined #ocaml
hay207__ has quit [Read error: Connection reset by peer]
hay207__ has joined #ocaml
<seangrove> Sure would be nice :)
<companion_cube> even then it would be in containers.data :p
<companion_cube> the idea of CCVector is to provide an imperative, mutable vector that can be frozen later
dsheets has quit [Ping timeout: 248 seconds]
Anarchos has joined #ocaml
ski has joined #ocaml
<asdf12z_> how can i set up emacs to automatically show the type of my expression that my cursor is currently on?
<asdf12z_> normally can do C-c C-t to see it, but i'd like it to be automatic
Kakadu has joined #ocaml
manizzle has joined #ocaml
nicholasf has joined #ocaml
therac25 has joined #ocaml
hay207__ has quit [Quit: Konversation terminated!]
hay207__ has joined #ocaml
<flux> asdf12z_, I don't think setting up that is going to be very easy without breaking any other functionality..
octachron has joined #ocaml
slicefd has quit [Quit: WeeChat 1.4]
yunxing has joined #ocaml
tane has quit [Quit: Verlassend]
johnf has quit [Read error: Connection reset by peer]
tane has joined #ocaml
johnf has joined #ocaml
<Algebr> asdf12z_: infinity0 has elisp that does thig, I opened up an issue on github merlin for it as well
TheLemonMan has joined #ocaml
slash^ has quit [Quit: Leaving.]
seangrove has quit [Ping timeout: 252 seconds]
<yunxing> Is it possible in opam config file to get the version of current package?
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
djellemah has quit [Ping timeout: 250 seconds]
yunxing has quit [Ping timeout: 250 seconds]
yunxing has joined #ocaml
lokien_ has joined #ocaml
<please_help> yunxing: opam show <package> has a installed-version field.
<please_help> not sure otherwise
aantron has quit [Remote host closed the connection]
nicholasf has quit [Remote host closed the connection]
seangrove has joined #ocaml
aantron has joined #ocaml
sh0t has quit [Ping timeout: 240 seconds]
leyyin has quit [Quit: So Long, and Thanks for All the Fish]
djellemah has joined #ocaml
<yunxing> please_help: Thanks. I found that when you say %{version}% in opam, it will automatically refer to the version of your current package
<infinity0> asdf12z_: https://github.com/infinity0/l33tutils/blob/master/devel/emacs/site-lisp/merlin-extra.el and yes i should upstream it to merlin once i get some time
<infinity0> there's still fiddly minor bugs in it but the cost-benefit ratio of me personally fixing them is not so nice, i don't know that much elisp
_andre has quit [Quit: leaving]
darkf has joined #ocaml
seangrove has quit [Ping timeout: 240 seconds]
<Algebr> hopefully it will be pulled in eventually.
seangrove has joined #ocaml
cdidd has joined #ocaml
manizzle has quit [Read error: Connection reset by peer]
sh0t has joined #ocaml
seangrove has quit [Ping timeout: 264 seconds]
cdidd has quit [Ping timeout: 240 seconds]
cdidd has joined #ocaml
mettekou has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
seangrove has joined #ocaml
hay207 has joined #ocaml
hay207__ has quit [Ping timeout: 264 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
mettekou has joined #ocaml
vhf has quit [Ping timeout: 250 seconds]
<Drup> octachron: "fluctuating" :D
<Drup> This description is rather delicious
vhf has joined #ocaml
<Algebr> Drup: is Lwt_main.async_exception_hook only called by Lwt.async func or by any async exception in general
orbifx has joined #ocaml
<Drup> no idea
cdidd has quit [Remote host closed the connection]
Anarchos has quit [Ping timeout: 244 seconds]
<please_help> any reason why this doesn't do anything? (eliom/js_of_ocaml/ppx) https://bpaste.net/show/fcc8a1d42fbd
nicholasf has joined #ocaml
<Drup> doesn't that trigger a warning ?
malc_ has left #ocaml ["ERC (IRC client for Emacs 25.0.50.2)"]
cdidd has joined #ocaml
hay207_ has joined #ocaml
hay207 has quit [Ping timeout: 264 seconds]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
seangrove has quit [Ping timeout: 246 seconds]
seangrove has joined #ocaml
hay207_ has quit [Quit: Konversation terminated!]
pierpa has quit [Ping timeout: 276 seconds]
yunxing has quit [Remote host closed the connection]
yunxing has joined #ocaml
yunxing has quit [Ping timeout: 248 seconds]
hnrgrgr_ has quit [Remote host closed the connection]
ibor has quit [Ping timeout: 260 seconds]
mettekou has quit [Read error: Connection reset by peer]
mettekou has joined #ocaml
yunxing has joined #ocaml
butts_butts has quit [Ping timeout: 244 seconds]
antkong has joined #ocaml
jeffmo has quit [Read error: Connection reset by peer]
jeffmo_ has joined #ocaml
manizzle has joined #ocaml
lokien_ has quit [Quit: Connection closed for inactivity]
<mrvn> Why are those types not comaptible? http://paste.debian.net/417842/
<Nazral> flux: well I checked, it's not working perfectly yet their thing, I think I won't use it for now
<Nazral> (it takes over the ctrl+ ... from the terminal but never gives it back)
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
<zozozo> mrvn: from what I see, in the setPixmap method of your objects, the expected type is "QT5.OPixmap.qPixmap -> unit" but instead you give a function of type "(< as_oPixmap : QT5.OPixmap.oPixmap; .. > as 'b) -> unit", i.e instead of taking a pixmap as argument, your function takes an object with a method 'as_oPixmap' returning a pixmap
_2can has joined #ocaml
<zozozo> but I'm not really used to object types, so i may be wrong
<mrvn> other way around
t4nk573 has quit []
<mrvn> Foudn it now. The problem was the obejct I called #setPixmap on didn't have a type annotation and the infered type isn't polymorphic.
Haudegen has quit [Ping timeout: 246 seconds]
<mrvn> Progress on the QT5 bindings: http://picpaste.com/pics/tetrix.1458600238.png
<Algebr> what! looks great. looks like windows but on debian?
<mrvn> Algebr: well, that's just my windowmanager.
<Algebr> I am very much looking forward to this
<mrvn> Still have to do QTimer and parsing of QKeyEvent and then one can play.
<mrvn> Perfect timing. My 3D print job is on it's last minute.
<mrvn> No QTimer today.
dsheets has joined #ocaml
<Algebr> friend explained it to me but I am fuzzy on the details, why would someone do Ok () instead of just Ok
Simn has quit [Quit: Leaving]
dsheets has quit [Ping timeout: 246 seconds]
mettekou has quit [Quit: Textual IRC Client: www.textualapp.com]
silver has quit [Quit: rakede]
octachron has quit [Quit: Leaving]
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 240 seconds]
mettekou has joined #ocaml
dsheets has joined #ocaml
ygrek has quit [Ping timeout: 268 seconds]
dsheets has quit [Ping timeout: 248 seconds]
Kakadu has quit [Remote host closed the connection]
manizzle has quit [Ping timeout: 248 seconds]
manizzle has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
mettekou has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Algebr> I think I am starting to isolate my lwt woes to lwt daemonize, searching around apparently it is notorious for causing odd issues, then seen this thing by diml `Currently Lwt_deamon.daemonize is fully supported only if done before the Lwt_main.run.` is to imply that one should always call daemonize before lwt_main.run
<Algebr> okay, seems supported by smondet One can call `Lwt_daemon.daemonize` only before the Lwt engine starts.
Haudegen has joined #ocaml
sh0t has quit [Ping timeout: 248 seconds]
ollehar has joined #ocaml
<ollehar> uh, how to check if all elements in a list are equal in some regard (have same type)?
<ollehar> for_all doesn't work because it assumes I know the type/predicate to check before-hand.
ygrek has joined #ocaml
<ollehar> ach, guess I have to check first element.
<smondet> Algebr: I've had a lot of fights with daemonization indeed. Pretty painful, hard to track down problems.
<Algebr> its ridiculously hard to debug
<Algebr> so is one trick to daemonize before anything else? before lwt_main.run?
badon has quit [Quit: Leaving]
tane has quit [Quit: Verlassend]
<ollehar> can I compare two variants without comparing their content?
<ollehar> Int i = Int j
<ollehar> OK if both are Int
<ollehar> Int i = Float j
<ollehar> not OK
<Algebr> I guess the poly compares will do it variant vs variant frst, then their contents, someone prolly knows better
<Algebr> aka, try it
<ollehar> poly compares?
<ollehar> googling it
<Algebr> i mean < > = <>
<ollehar> ok