gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.1 http://bit.ly/nNVIVH
oriba has quit [Quit: oriba]
mdelaney has joined #ocaml
twittard has quit [Quit: twittard]
mdelaney has quit [Quit: mdelaney]
gnech has quit [Ping timeout: 248 seconds]
emmanuelux has quit [Quit: Ex-Chat]
philtor has joined #ocaml
letrec has joined #ocaml
Tobu has quit [Ping timeout: 252 seconds]
Tobu has joined #ocaml
everyonemines has joined #ocaml
philtor has quit [Ping timeout: 252 seconds]
Tobu has quit [Ping timeout: 272 seconds]
everyonemines has quit [Quit: Leaving.]
twittard has joined #ocaml
Tobu has joined #ocaml
gnech has joined #ocaml
twittard has quit [Quit: twittard]
sebz has joined #ocaml
sebz has quit [Client Quit]
sebz has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
Tobu has quit [Ping timeout: 272 seconds]
Tobu has joined #ocaml
gnech has quit [Ping timeout: 240 seconds]
mcclurmc has quit [Excess Flood]
mcclurmc has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
sebz has quit [Client Quit]
milosn has joined #ocaml
Submarine_ has joined #ocaml
Submarine_ has quit [Changing host]
Submarine_ has joined #ocaml
twittard has joined #ocaml
Submarine_ has quit [Client Quit]
Tobu has quit [Read error: Operation timed out]
Tobu has joined #ocaml
Cyanure has joined #ocaml
kmc has joined #ocaml
Drup has joined #ocaml
ulfdoz has quit [Remote host closed the connection]
ulfdoz has joined #ocaml
yroeht has quit [Ping timeout: 255 seconds]
yroeht has joined #ocaml
Tobu has quit [Read error: Operation timed out]
avsm1 has joined #ocaml
avsm has quit [Read error: Connection reset by peer]
Snark has joined #ocaml
ikaros has joined #ocaml
<avsm1> probst: any luck with homebrew? a blog entry on getting up and running on a Mac would probably be quite a good idea!
<probst> avsm1: I am still in the process of getting things up and running. With a newer version of homebrew I get ocaml 3.12.1, so hopefully the rest will follow nicely after that. Ocamlbrew didn't work at all for me. I will see if I can summarize things in a blog post once I have a working setup
<avsm1> probst: unfortunately, the homebrew folks have rejected (or worse, ignored) my pull requests to package up a few libaries
<avsm1> using ocamlbrew and odb may be easier
<probst> avsm1: I couldn't get ocamlbrew to install on my computer at all
<probst> odb seems nice though
<avsm1> probst: what was the error? odb+installing ocaml/ocamlfind == your favourite tool, RVM :)
<probst> avsm1: I used the one line install file from the github repo, and it complained about some illegal arguments. Let me try again...
<probst> avsm1: and I can't get to the ocamlbrew-XYZ script that is causing the error… so can't really see what is going on
<probst> avsm1: sorry, that was a little n00b. It's basically downloading the 'ocamlbrew' file, so I should be able to see what is going on inside that
<avsm1> probst: i pushed a fix to https://github.com/avsm/ocamlbrew
<avsm1> try mine and see if the rest works
Tobu has joined #ocaml
<probst> avsm1: sweet. Now it works :)
<probst> thanks Anil :)
The_third_man has quit [Read error: Connection reset by peer]
<avsm1> great! i'll send him a pull request.
linshuai_irc has joined #ocaml
The_third_man has joined #ocaml
ousado has quit [Ping timeout: 252 seconds]
Tobu has quit [Ping timeout: 248 seconds]
ousado has joined #ocaml
ousado_ has joined #ocaml
ousado__ has joined #ocaml
ousado has quit [Ping timeout: 272 seconds]
pilki has joined #ocaml
ousado has joined #ocaml
ousado__ has quit [Read error: Connection reset by peer]
ousado_ has quit [Ping timeout: 252 seconds]
ousado has quit [Changing host]
ousado has joined #ocaml
linshuai_irc has left #ocaml []
linshuai_irc has joined #ocaml
pilki has quit [Ping timeout: 252 seconds]
Tobu has joined #ocaml
ak0s has joined #ocaml
avsm1 has quit [Quit: Leaving.]
<Drakken> Is there a nonblocking I/O library out there somewhere? Apparently read_line doesn't play well with threads.
<adrien> bindings to libaio; but maybe that Lwt would fit your needs better
<Drakken> adrien thanx
Tobu has quit [Ping timeout: 272 seconds]
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
Tobu has joined #ocaml
milosn has quit [Read error: Connection reset by peer]
milosn has joined #ocaml
yroeht has quit [Ping timeout: 248 seconds]
BiDOrD has joined #ocaml
BiDOrD_ has quit [Ping timeout: 240 seconds]
ak0s has quit [Ping timeout: 252 seconds]
yroeht has joined #ocaml
ski has quit [Ping timeout: 255 seconds]
zorun has quit [Remote host closed the connection]
zorun has joined #ocaml
ski has joined #ocaml
milosn has quit [Ping timeout: 240 seconds]
milosn has joined #ocaml
gnech has joined #ocaml
Julien_T has joined #ocaml
oriba has joined #ocaml
letrec has quit [Read error: Connection reset by peer]
letrec has joined #ocaml
Tobu has quit [Ping timeout: 252 seconds]
ski has quit [Ping timeout: 255 seconds]
Tobu has joined #ocaml
iago has joined #ocaml
avsm has joined #ocaml
zorun has quit [Read error: Connection reset by peer]
zorun has joined #ocaml
milosn_ has joined #ocaml
<adrien> would it be a big annoyance if Archimedes_cairo depended on lablgtk2?
milosn has quit [Ping timeout: 276 seconds]
milosn_ has quit [Read error: Operation timed out]
raichoo has joined #ocaml
milosn has joined #ocaml
<thelema> adrien: not for me, but what would you gain? Output to screen?
<adrien> I have a module which declares a type and then tries to store a value of this type in a hashtbl that has been defined outside of the module; I'm getting "This expression has type t but an expression was expected of type 'a The type constructor t would escape its scope"; is there another way to solve this except moving the type declaration?
<adrien> let h = Hashtbl.create 2;; module M = struct type t; let f (t : t) = Hashtbl.add h 1 t end
<adrien> thelema: yes, and I don't really want to make it depend on lablgtk2 but I'm trying to see if it could for some time (sorting priorities: is avoiding the dep on lablgtk2 very important?)
<thelema> adrien: as everything's auto-installable by odb, I don't see a big problem
<adrien> hmmm, on the other hand, I wouldn't be able to move the type declaration outside of the module
<thelema> adrien: as to your hashtable problem, the hashtable doesn't need to know the type, but code that uses just the hashtbl-having module must have something to call the type of value that gets returned
<adrien> so, actual question: how to use first-class modules (stored in a hashtbl); each module has a 'val create: options -> t', and options is module-dependant
<thelema> each module in the hash table must have same signature - you're asking the same question as How to store values of different types in a hashtbl
linshuai_irc has quit [Remote host closed the connection]
Tobu has quit [Read error: Operation timed out]
Tobu has joined #ocaml
<adrien> so there's no easy way to create module-dependant options =/
<thelema> (string*string) list
<adrien> that sucks
<adrien> especially when I want to pass a lablgtk2 object
<thelema> it works well.
<thelema> oh, not for that
<thelema> (string * v) list, where v is a variant that includes lablgtk2 object
avsm has quit [Quit: Leaving.]
<adrien> but then the variant has to cover all the possibilities; that makes it impossible to add new entries without changing the module type definition and that ties the definition to graphics, tikz, cairo2 and lablgtk2 in archimedes' case
<adrien> I'll duplicate the code of archimedes_cairo for now and put what I need there
NihilistDandy has joined #ocaml
<adrien> that also has the advantage of not adding a dependency ;-)
emmanuelux has joined #ocaml
letrec has quit [Ping timeout: 260 seconds]
<adrien> nice plugin architecture which hides its internals works well until you need to change something =/
avsm has joined #ocaml
avsm has quit [Quit: Leaving.]
Julien_T has quit [Ping timeout: 255 seconds]
Julien_T has joined #ocaml
avsm has joined #ocaml
coeus has joined #ocaml
<adrien> anyone has a very recent version of oasis?
<thelema> adrien: odb can (try to) build from darcs
<adrien> I don't have darcs installed because I don't like >100MB binary blobs which I would have to use since GHC can't bootstrap from anything else but GHC (chicken and egg)
<thelema> heh.
<adrien> I think Christophe Troelster has managed something weird in archimedes with oasis
<adrien> or I've removed something after the protected section in setup.ml
<adrien> and I'm going to get archimedes 0.4.11, it'll be easier than changing oasis
milosn_ has joined #ocaml
<adrien> I hate the fact that this link is valid and yet, points to the archimedes 0.4.12: https://forge.ocamlcore.org/frs/download.php/748/archimedes-0.4.11.tar.gz
milosn has quit [Ping timeout: 255 seconds]
<thelema> lol
<thelema> if you'd like, I can tarball the latest oasis source
<adrien> no, thanks, it's fine: the changes in archimedes are quite small
<adrien> and the change which I want to have has been available for some versions
<thelema> ok
<adrien> it was the "wtf" moment when I was untarring the sources and wondering where the files were going ;-)
<adrien> (because I already had 0.4.12 extracted)
metasyntax has joined #ocaml
Snark has quit [Quit: Quitte]
Tobu has quit [Read error: Operation timed out]
Tobu has joined #ocaml
NihilistDandy has quit [Ping timeout: 272 seconds]
philtor has joined #ocaml
antegallya has joined #ocaml
g0dmoney- has quit [Remote host closed the connection]
ftrvxmtrx has quit [Read error: Connection reset by peer]
ftrvxmtrx has joined #ocaml
milosn_ has quit [Read error: Connection reset by peer]
milosn has joined #ocaml
pilki has joined #ocaml
milosn has quit [Ping timeout: 252 seconds]
philtor has quit [Read error: Operation timed out]
milosn has joined #ocaml
sebz has joined #ocaml
tautologico has joined #ocaml
<tautologico> can I update packages with odb?
coeus has left #ocaml []
pilki has quit [Quit: This computer has gone to sleep]
gnech has quit [Quit: jIRCii - http://www.oldschoolirc.com]
Julien_T has quit [Ping timeout: 244 seconds]
Drakken has left #ocaml []
sebz has quit [Ping timeout: 244 seconds]
antegallya has quit [Ping timeout: 252 seconds]
antegallya has joined #ocaml
sebz has joined #ocaml
raichoo has quit [Ping timeout: 248 seconds]
raichoo has joined #ocaml
Tobu has quit [Ping timeout: 272 seconds]
pilki has joined #ocaml
Cyanure has quit [Ping timeout: 245 seconds]
probst has quit [Quit: probst]
milosn has quit [Read error: Connection reset by peer]
milosn has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
emmanuelux has joined #ocaml
alxbl has quit [Ping timeout: 240 seconds]
Tobu has joined #ocaml
milosn has quit [Ping timeout: 248 seconds]
milosn has joined #ocaml
<thelema> tautologico: yes, just --force a reinstall, --auto-reinstall to reinstall anything that depends on what you're installing
antegallya has quit [Remote host closed the connection]
pango is now known as pangoafk
twittard has quit [Quit: twittard]
mal`` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
mal`` has joined #ocaml
oriba_ has joined #ocaml
oriba has quit [Ping timeout: 252 seconds]
ikaros has quit [Quit: Ex-Chat]
letrec has joined #ocaml
raichoo has quit [Quit: leaving]
sebz has quit [Quit: Computer has gone to sleep.]
<tautologico> thelema: that's good, though maybe an --update flag that did it this way would be clearer
ulfdoz has quit [Ping timeout: 240 seconds]
ulfdoz has joined #ocaml
pilki has quit [Quit: This computer has gone to sleep]
ousado has quit [Ping timeout: 240 seconds]
ousado has joined #ocaml
oriba_ has quit [Quit: oriba_]
ousado has quit [Read error: Operation timed out]
ousado has joined #ocaml
ousado has quit [Changing host]
ousado has joined #ocaml
Tobu has quit [Ping timeout: 252 seconds]