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
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