ChanServ changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.02.1 announcement at http://ocaml.org/releases/4.02.html | Public channel logs at http://irclog.whitequark.org/ocaml
malc_ has quit [Quit: leaving]
mcclurmc has joined #ocaml
yomimono has quit [Ping timeout: 252 seconds]
BitPuffin|osx has joined #ocaml
AltGr has joined #ocaml
ollehar has quit [Read error: Connection reset by peer]
mcclurmc has quit [Remote host closed the connection]
ollehar has joined #ocaml
mcclurmc has joined #ocaml
MrScout has quit [Ping timeout: 248 seconds]
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
mcclurmc has quit [Ping timeout: 250 seconds]
pyon has quit [Quit: fix config]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djellemah_ has joined #ocaml
walter|r has quit [Remote host closed the connection]
djellemah has quit [Ping timeout: 244 seconds]
johnf__ has quit [Read error: Connection reset by peer]
tmtwd has quit [Ping timeout: 264 seconds]
seanmcl has joined #ocaml
lordkryss has quit [Quit: Connection closed for inactivity]
cdidd has quit [Ping timeout: 246 seconds]
asdewsw has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
creichert has joined #ocaml
rgrinberg has quit [Ping timeout: 264 seconds]
rgrinberg has joined #ocaml
moei has quit [Quit: Leaving...]
BitPuffin|osx has quit [Ping timeout: 246 seconds]
darkf has joined #ocaml
moei has joined #ocaml
moei has quit [Quit: Leaving...]
moei has joined #ocaml
walter|r has joined #ocaml
rgrinberg has quit [Ping timeout: 256 seconds]
swgillespie has joined #ocaml
pyon has joined #ocaml
ygrek has quit [Ping timeout: 252 seconds]
rgrinberg has joined #ocaml
tmtwd has joined #ocaml
tmtwd has quit [Client Quit]
idegen has quit [Quit: Leaving.]
cdidd has joined #ocaml
walter|r has quit [Remote host closed the connection]
seanmcl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mcclurmc has joined #ocaml
Denommus has joined #ocaml
mcclurmc has quit [Ping timeout: 252 seconds]
tjscanlon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tjscanlon has joined #ocaml
keen___________2 has joined #ocaml
keen___________1 has quit [Ping timeout: 256 seconds]
MercurialAlchemi has joined #ocaml
rgrinberg has quit [Ping timeout: 246 seconds]
rgrinberg has joined #ocaml
amnn has joined #ocaml
amnn has quit [Client Quit]
johnf__ has joined #ocaml
mort___ has quit [Ping timeout: 256 seconds]
johnf__ has quit [Read error: Connection reset by peer]
matason has joined #ocaml
ghostpl has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
psy_ has quit [Ping timeout: 246 seconds]
<flux> meh. camlp4 doesn't install because at some point it does cp -p and that network file system gives permission denied - though it seems to me it's not really modifying any permissions..
<flux> but I can't seem to find where the cp -p is, even if I can manually install campl4
<flux> how do I tell opam that camlp4 is installed, don't bother? it seems it has somehow picked it by itself earlier.. or maybe I didn't quite manually properly install it yet, but still I would like to know if that can be done :)
<flux> well, making a local cp wrapper ought to fix it regardless..
ghostpl has quit [Remote host closed the connection]
ghostpl has joined #ocaml
<flux> it probably wasn't even in the install phase where it was cp'ing it but rather at dependency resolving, even it manual make install passed..
MercurialAlchemi has quit [Ping timeout: 248 seconds]
psy_ has joined #ocaml
toolslive has joined #ocaml
swgillespie has joined #ocaml
matason has quit []
kushal has joined #ocaml
ghostpl has quit [Remote host closed the connection]
kushal has quit [Ping timeout: 252 seconds]
ghostpl has joined #ocaml
ghostpl has quit [Remote host closed the connection]
ghostpl has joined #ocaml
mlen has joined #ocaml
obadz has quit [Ping timeout: 246 seconds]
psy_ has quit [Ping timeout: 252 seconds]
badon has quit [Disconnected by services]
badon_ has joined #ocaml
badon_ is now known as badon
ghostpl has quit [Ping timeout: 256 seconds]
djellemah_ is now known as djellemah
chris2 has quit [Ping timeout: 248 seconds]
obadz has joined #ocaml
chris2 has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
psy_ has joined #ocaml
Simn has joined #ocaml
<AltGr> flux, "how do I tell opam that camlp4 is installed, don't bother?" -> `opam install --fake`
<AltGr> be careful tho, you can easily break your opam switch this way :)
<flux> altgr, thanks, I'll keep it in my mind in the future
swgillespie has joined #ocaml
<flux> and it's not really that big a deal to break opam :)
tmtwd has joined #ocaml
swgillespie has quit [Client Quit]
Haudegen has quit [Ping timeout: 248 seconds]
Haudegen has joined #ocaml
creichert has quit [Ping timeout: 264 seconds]
creichert has joined #ocaml
toolslive has quit [Remote host closed the connection]
thomasga has joined #ocaml
badon has quit [Disconnected by services]
badon_ has joined #ocaml
badon_ is now known as badon
badon has quit [Remote host closed the connection]
creichert has quit [Ping timeout: 255 seconds]
psy_ has quit [Ping timeout: 250 seconds]
matason has joined #ocaml
ggole has joined #ocaml
ygrek has joined #ocaml
tjscanlon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yomimono has joined #ocaml
johnf__ has joined #ocaml
Haudegen has quit [Ping timeout: 265 seconds]
psy_ has joined #ocaml
ghostpl has joined #ocaml
psy__ has joined #ocaml
psy_ has quit [Ping timeout: 255 seconds]
tjscanlon has joined #ocaml
yomimono has quit [Ping timeout: 256 seconds]
leowzukw has joined #ocaml
leowzukw has quit [Client Quit]
AlexRussia has quit [Ping timeout: 256 seconds]
amnn has joined #ocaml
zeRusski_ has joined #ocaml
Submarine has joined #ocaml
OnkV has joined #ocaml
<johnf__> I've created a case where I have a cyclic set of type definitions, type A = | C type B = |A type C = |B this gives a compile error any ideas how to resolve this?
<johnf__> I can put them in a .mli file but then can't use the constructors in other modules.
AlexRussia has joined #ocaml
<companion_cube> you can't define a type named "A"
<companion_cube> but about cyclic definitions: type a = { field_a: b list } and b = { field_b : a list }
<companion_cube> this works
avsm has joined #ocaml
<johnf__> companion_cube, but why doesn't it work with constructors (hope that is the right word) so in my example change the upper case values to lower case
<companion_cube> I don't really understand what you were trying to do
<johnf__> type a = | c type b = | a type c = |b or maybe I did something else wrong and just think this is my error
<companion_cube> but what does type a = c mean?
<johnf__> ah sorry helps if I give the correct syntax
<johnf__> type a = | C of c
<johnf__> type b = | A of a
<companion_cube> ahhhh
<johnf__> type c = | B of b
<companion_cube> ok, that should work, just type a = ... and b = ... and c = ...
<johnf__> yeah sorry about that.
<companion_cube> you should provide at least one base case though
<companion_cube> otherwise your types won't have any inhabitant
jonludlam has joined #ocaml
<johnf__> by base case you mean some concrete(?) type like
<johnf__> type d = | D of int
<companion_cube> yes
<companion_cube> otherwise, you cannot build any (finite) value for your type
<johnf__> I see otherwise its sort of type nonsense
<johnf__> ok thanks got it.
badon has joined #ocaml
nullcat has joined #ocaml
yomimono has joined #ocaml
sepp2k has joined #ocaml
ygrek has quit [Ping timeout: 244 seconds]
rgrinberg has quit [Ping timeout: 256 seconds]
johnf__ has quit [Read error: Connection reset by peer]
|jbrown| has quit [Quit: Client exiting]
Kakadu has joined #ocaml
Denommus has quit [Ping timeout: 244 seconds]
tmtwd has quit [Ping timeout: 265 seconds]
badon has quit [Disconnected by services]
badon_ has joined #ocaml
badon_ is now known as badon
emanuelz has quit [Quit: emanuelz]
badon has quit [Excess Flood]
zpe has joined #ocaml
zpe_ has joined #ocaml
AltGr has left #ocaml [#ocaml]
zpe has quit [Ping timeout: 256 seconds]
tmtwd has joined #ocaml
ghostpl has quit [Remote host closed the connection]
avsm has quit [Quit: Leaving.]
tjscanlon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
husanu4 has joined #ocaml
OnkV has quit [Ping timeout: 244 seconds]
husanu4 has quit [Remote host closed the connection]
husanu2 has joined #ocaml
husanu2 has quit [Remote host closed the connection]
husanu3 has joined #ocaml
husanu3 has quit [Remote host closed the connection]
Haudegen has joined #ocaml
rgrinberg has joined #ocaml
QuanticPotato has joined #ocaml
thomasga has quit [Quit: Leaving.]
rgrinberg has quit [Ping timeout: 272 seconds]
QuanticPotato has quit [Ping timeout: 252 seconds]
zpe_ has quit [Remote host closed the connection]
hay207 has joined #ocaml
<flux> drup, the ocsigen website mentions how one can use Apache proxying with it.. I suppose you don't know of an example of such a working configuration?
<flux> or, I could just join #ocsigen and not load you that much ;-)
thomasga has joined #ocaml
ghostpl has joined #ocaml
thomasga has quit [Quit: Leaving.]
zeRusski_ has quit [Remote host closed the connection]
zeRusski_ has joined #ocaml
ghostpl has quit [Ping timeout: 272 seconds]
ghostpl has joined #ocaml
nullcat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_andre has joined #ocaml
oscar_toro has quit [Ping timeout: 252 seconds]
octachron has joined #ocaml
nullcat_ has joined #ocaml
rgrinberg has joined #ocaml
oscar_toro has joined #ocaml
Submarine has quit [Quit: Leaving]
rgrinberg has quit [Ping timeout: 248 seconds]
Submarine has joined #ocaml
Submarine has joined #ocaml
agarwal1975 has joined #ocaml
tmtwd has quit [Quit: Leaving]
avsm has joined #ocaml
oscar_toro has quit [Ping timeout: 244 seconds]
djellemah_ has joined #ocaml
Hannibal_Smith has joined #ocaml
amnn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djellemah has quit [Ping timeout: 252 seconds]
seanmcl has joined #ocaml
ghostpl has quit [Remote host closed the connection]
rand000 has joined #ocaml
<companion_cube> Drup: do you have some advice about tags?
<Drup> huuum
<Drup> you could look at lambda-terms format implementation, there are tags magic in it
husanu2 has joined #ocaml
thomasga has joined #ocaml
djellemah__ has joined #ocaml
<Drup> It's also absolutely ugly x)
<companion_cube> I think the most difficult part, in the compiler, is to find where to set tag functions
husanu2 has quit [Remote host closed the connection]
<Drup> possibly.
rgrinberg has joined #ocaml
<Drup> well, actually no, you could set them anywhere
<Drup> it doesn't matter, it's stateful anyway
<companion_cube> but it's not a good idea to set them at every message
<Drup> what ? no
<Drup> you set them once, for the whole program
<companion_cube> oh, it's not per formatter?
<companion_cube> oh nice
<companion_cube> perfect
idegen has joined #ocaml
<Drup> yeah, it's per formatter
<Drup> but once
djellemah_ has quit [Ping timeout: 244 seconds]
<companion_cube> val set_formatter_tag_functions : formatter_tag_functions -> unit
<Drup> so once for std_formatter, once for err_formater
<companion_cube> right
<companion_cube> it's no use for other formatters anyway
<companion_cube> ok
<Drup> use the pp_* version instead
<companion_cube> I miss merlin :(
<Drup> (to specify the formatter explicitely, it's cleaner)
husanu2 has joined #ocaml
rgrinberg has quit [Ping timeout: 248 seconds]
<Drup> companion_cube: the good part (on top of indenting correctly) is that it will be easier to enable/disable it.
<companion_cube> I'm not sure it's better than an option
<companion_cube> what if other parts of the compiler start using tags?
thomasga has quit [Quit: Leaving.]
<Drup> Pretty sure we can wait to see at this point, because there are few use cases for tags that are not some spin off of "non printable sequences"
<Drup> (I mean, tags where meant for that ...)
husanu2 has quit [Remote host closed the connection]
<Drup> were*
<Drup> so don't worry, and use Format.set_tags
<flux> soo, what are these tags?-)
myst|work has quit [Quit: Lost terminal]
ghostpl has joined #ocaml
husanux1 has joined #ocaml
husanux1 has quit [Remote host closed the connection]
thomasga has joined #ocaml
husanux6 has joined #ocaml
jeffmo_ has quit [Quit: jeffmo_]
<companion_cube> hmm, I can simply use the ansi codes as tags, in fact
<Drup> I would advise against it
<Drup> the point of tag is to give them a name in relation to their semantic meaning and have them translated into the low level detail later
<Drup> also, using reasonable tags is easier to write
<Drup> Format.printf" <red>Error</red>"
psy__ has quit [Ping timeout: 252 seconds]
<companion_cube> this is going to be so much more annoying…
<Drup> Actually, no, the patch should be smaller
<companion_cube> I'd rather have cryptic tag that are never written explicitly
<companion_cube> you need to *parse* the tags
husanux6 has quit [Remote host closed the connection]
<companion_cube> blerg
<Drup> parse ? what ?
<Drup> match s with | "red" -> "..."
<Drup> you call that parsing ?
husanux2 has joined #ocaml
<haesbaert> btw, /topic should be updated to 4.02.2
husanux2 has quit [Remote host closed the connection]
<flux> I was a bit wondering what's the point of the tags, but then I found more tags functions further along the page.. :)
<flux> so is there any ppx-related issue in 4.02.2 after all? have all related packages been fixed? only our own code remains to be fixed?
psy__ has joined #ocaml
QuanticPotato has joined #ocaml
husanux0 has joined #ocaml
ghostpl has quit [Remote host closed the connection]
husanux0 has quit [Remote host closed the connection]
nullcat_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
myst|work has joined #ocaml
jeffmo has joined #ocaml
thomasga has quit [Quit: Leaving.]
ghostpl has joined #ocaml
djellemah__ is now known as djellemah
lordkryss has joined #ocaml
avsm1 has joined #ocaml
avsm has quit [Ping timeout: 250 seconds]
<companion_cube> Drup: what about bold? -_-
<Drup> <bold>..</bold> ?
<companion_cube> anyway the point is that it's bad to write "<red>Error:</red>" at several places
<companion_cube> it's better to call print_error()
<companion_cube> what if you mix bold and red?
<companion_cube> (you know, ansi codes)
<Drup> <bold><red>...</bold></red> ?
<Drup> the other way around, but doesn't matter
<companion_cube> anyway, those styles should appear exactly once
<companion_cube> I don't see the point
<Drup> well, then add a tag <error>
<companion_cube> <warning>Warning</warning>: foo bar ?
<Drup> I guess
ghostpl has quit [Remote host closed the connection]
<companion_cube> so ugly
<companion_cube> (is <red> a standard notation for tags?!)
<companion_cube> (or is it in boxes?)
<Drup> yes, it's a standard notation for tags
<Drup> it's written in the documentation
<companion_cube> where?
<Drup> In the spirit of HTML tags, the default tag marking functions output tags enclosed in "<" and ">": hence, the opening marker of tag t is "<t>" and the closing marker "</t>".
<companion_cube> I see no such thing in the manpage of Format
<Drup> oh no, nevermind
<Drup> It's @{<red> ... @}
<companion_cube> oh
<Drup> by the pure tradition of elegant and lightweight format markup
<companion_cube> doesn't seem documented
<companion_cube> anyway.
<Drup> It is
<Drup> grep for @{
<companion_cube> well it's in .ml files and tests :/
<Drup> No, in the documentation too
<companion_cube> gaaah, this is not in my manpage
<Drup> are you using a manpage for ten versions ago ?
nullcat has joined #ocaml
<companion_cube> good question oO
<Armael> the doc for fprintf is missing, here, too.
<Armael> manpages of ocaml 4.02.1.
ghostpl has joined #ocaml
<companion_cube> same
<companion_cube> on arch
kdef has joined #ocaml
badkins has joined #ocaml
mcclurmc has joined #ocaml
<companion_cube> so, I settled on tags "error", "warning", etc. with ANSI colors
<flux> I hope you disable them at least for non-ttys, or your software is decidedly interactive only ;)
<companion_cube> there will be a CLI flag, don't worry
<Armael> you want to check if stdout is a tty, too
<Armael> even if the flags says "i want colors"
<companion_cube> Drup: do you know how to use merlin on the compiler?
<Drup> companion_cube: ask rks`
<companion_cube> hmm :(
<Drup> I think the master of menhir works on the compiler
<Drup> merlin* ~~'
<companion_cube> of course, the whole compiler was designed without thinking about tags
<Drup> ?
<Drup> how is that an issue ?
<Drup> hum, didn't knew about @<0>
<rks`> I haven't rebased in a while
<rks`> but yes, you can still use merlin when working on trunk
<rks`> (I am doing it at the moment, it works fine)
<companion_cube> Drup: it's not based on composing/nesting printers
<companion_cube> rks`: hmm, so you opam switch to trunk, I guess
<Drup> yeah
<rks`> yes
<companion_cube> ok
<Drup> opam-compiler-conf is your friend
<companion_cube> I think opam sw 4.03.0+trunk will do
<companion_cube> the magic number should match
<rks`> it should
<rks`> it will
<companion_cube> thanks
<companion_cube> ooooh yeaaaah
<companion_cube> so much better
<companion_cube> Error: This expression has type string/3 but an expression was expected of type string/15 ← interesting error message though
<Drup> well, he's being nice, it gives you a way to differentiate the two string types. How convenient!
Hannibal_Smith has quit [Quit: Leaving]
<rks`> yeah companion_cube, that's a known problem.
<companion_cube> ok
<companion_cube> no problem
<rks`> no time to investigate though, sorry
slash^ has joined #ocaml
tane has joined #ocaml
uris77 has joined #ocaml
ghostpl has quit [Remote host closed the connection]
avsm1 has quit [Quit: Leaving.]
Submarine has quit [Quit: Leaving]
mcclurmc has quit [Remote host closed the connection]
ghostpl has joined #ocaml
mcclurmc has joined #ocaml
kdef has quit [Quit: Leaving]
Denommus has joined #ocaml
rand000 has quit [Quit: leaving]
shinnya has joined #ocaml
pyon has quit [Ping timeout: 246 seconds]
darkf has quit [Quit: Leaving]
creichert has joined #ocaml
creichert has quit [Remote host closed the connection]
hay207 has quit [Quit: Leaving]
MercurialAlchemi has joined #ocaml
sh0t has joined #ocaml
Submarine has joined #ocaml
Submarine has joined #ocaml
zeRusski_ has quit [Remote host closed the connection]
octachron has quit [Ping timeout: 248 seconds]
zeRusski_ has joined #ocaml
yomimono has quit [Ping timeout: 265 seconds]
struktured has joined #ocaml
rgrinberg has quit [Ping timeout: 276 seconds]
mcclurmc has quit [Remote host closed the connection]
ygrek has joined #ocaml
kdef has joined #ocaml
ghostpl has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 252 seconds]
yomimono has joined #ocaml
zeRusski_ has quit [Ping timeout: 272 seconds]
QuanticPotato has quit [Quit: Leaving]
ollehar1 has joined #ocaml
ghostpl has joined #ocaml
emanuelz has joined #ocaml
mlen has quit [Quit: WeeChat 1.1]
mlen has joined #ocaml
nullcat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghostpl has quit [Ping timeout: 264 seconds]
Anarchos has joined #ocaml
rgrinberg has joined #ocaml
wraithm has joined #ocaml
MrScout has joined #ocaml
johnf__ has joined #ocaml
Hannibal_Smith has joined #ocaml
Simn has quit [Ping timeout: 252 seconds]
kdef has quit [Quit: Leaving]
kdef has joined #ocaml
yomimono has quit [Ping timeout: 276 seconds]
sh0t has quit [Ping timeout: 256 seconds]
johnf__ has quit [Read error: Connection reset by peer]
contempt has quit [Ping timeout: 265 seconds]
contempt has joined #ocaml
Haudegen has quit [Ping timeout: 252 seconds]
husanu7 has joined #ocaml
tmtwd has joined #ocaml
Haudegen has joined #ocaml
husanu7 has quit [Remote host closed the connection]
struktured has quit [Ping timeout: 265 seconds]
ggole has quit []
<rgrinberg> 3
Denommus has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
johnf__ has joined #ocaml
<bitbckt> 2
swgillespie has joined #ocaml
<Drup> MercurialAlchemi: which kind of composition ? there are two
<MercurialAlchemi> two?
<Drup> queries in queries (and then SQL works fine, but most ORM don't)
<Drup> and separating filters and selects (and then SQL works fine too, given you have an optimising engine, and most made up syntaxes are still complete crap)
Denommus has joined #ocaml
<Drup> any optimizing engine can reduce "select t.name from (selection t when t.foo = 3 in 'my_table' as t) as t" to a single query
<Drup> so as long as you have abstraction (which you don't in sql, but you do once you are in ocaml) you can define filters and compose them, it will compose terrible queries that will be optimise away, and that's fine
<Drup> (all of that is assuming macaque's type system, of course)
Denommus` has joined #ocaml
MrScout has quit [Remote host closed the connection]
MrScout has joined #ocaml
Denommus has quit [Ping timeout: 252 seconds]
Denommus` is now known as Denommus
mcclurmc has joined #ocaml
manizzle has joined #ocaml
MrScout has quit [Ping timeout: 248 seconds]
Anarchos has quit [Ping timeout: 256 seconds]
ygrek has quit [Ping timeout: 256 seconds]
emanuelz has quit [Quit: emanuelz]
Kakadu has quit [Quit: Page closed]
creichert has joined #ocaml
Simn has joined #ocaml
<Drup> MercurialAlchemi: ? :(
tjscanlon has joined #ocaml
tjscanlon has quit [Max SendQ exceeded]
tjscanlon has joined #ocaml
zeRusski_ has joined #ocaml
tokenrov1 is now known as tokenrove
mcclurmc has quit [Remote host closed the connection]
<tane> hello there
<tane> is there any easy way to let cohttp client use keep-alive and get multiple request using just one single socket (open+close)?
slash^ has quit [Read error: Connection reset by peer]
Denommus` has joined #ocaml
Denommus has quit [Ping timeout: 252 seconds]
<dsheets> tane, callv lets you send a fixed sequence of requests but there is no facility currently for producing a channel object
Anarchos has joined #ocaml
<tane> thank you
<tane> that's sad though
<tane> what would be the preferred way to implement that? a new implementation of the Net.ctx?
<tane> which would then maintain some state or connection pooling
<dsheets> tane, yes it's sad, i believe there is an issue tracking this
<dsheets> Net.ctx from conduit?
<rgrinberg> tane: i believe the async backend supports keep alive fine
<tane> Net.ctx as mentioned in the Client.ctx documentation
Denommus` is now known as Denommus
<tane> aye
<dsheets> i thought we had an issue tracking the fully decoupled case? iiuc, even the async backend will require you to know the requests before making the call even if it does interleave reads and writes
<tane> haskell's http libraries come with some sort of connection manager, e.g. "withManager $ \manager -> do ...", something along this line would be rather useful, so connections close even if the request/reponse chain yields exceptions
<dsheets> i really want a channel abstraction so that the github bindings don't have to do a full tcp+tls handshake on every call
zeRusski_ has quit [Remote host closed the connection]
zeRusski_ has joined #ocaml
<rgrinberg> dsheets: I think async will let you push more requests to the pipe after getting responses back. Pretty sure it closes the connection only when the pipe is closed.
<tane> so a channel would be a socket + basic procotol (encryption)?
<rgrinberg> dsheets: Agreed. an http library should after all let you use whatever socket you want
<dsheets> hmm perhaps the async reader abstraction is sufficient.
Submarine has quit [Remote host closed the connection]
nullcat_ has joined #ocaml
Anarchos has quit [Ping timeout: 250 seconds]
<tane> mh, what's the first Uri.t in callv's signature used for?
<rgrinberg> tane: get the host to estabish the connection i believe
<tane> yeah
<tane> my point being that you can change the Uri.t`s of the request arbitrarily, so this kind of interface leaves much room for doing strange stuff, at least from my limited understanding
Denommus` has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<tane> so either it's host + requests without mutable host and just request paths upon the prior given host or a manager kind of thing, which may handle multiple keep-alive connections to different hosts, allowing a request sequence targetting multiple hosts
Denommus has quit [Ping timeout: 255 seconds]
mcclurmc has joined #ocaml
matason has quit []
sepp2k has quit [Quit: Leaving.]
sh0t has joined #ocaml
Kakadu has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
Mercuria1Alchemi has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 246 seconds]
yomimono has joined #ocaml
pyon has joined #ocaml
swgillespie has joined #ocaml
ygrek has joined #ocaml
sh0t has quit [Remote host closed the connection]
ollehar1 has quit [Ping timeout: 264 seconds]
sh0t has joined #ocaml
sh0t has quit [Remote host closed the connection]
sh0t has joined #ocaml
sh0t has quit [Remote host closed the connection]
emanuelz has joined #ocaml
mlen has quit [Quit: WeeChat 1.1]
mcclurmc has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
mlen has joined #ocaml
Denommus` is now known as Denommus
zeRusski_ has quit [Ping timeout: 250 seconds]
shinnya has joined #ocaml
sh0t has joined #ocaml
_andre has quit [Quit: leaving]
tane has quit [Quit: Verlassend]
lobo has joined #ocaml
bjorkintosh has quit [Ping timeout: 248 seconds]
tmtwd has quit [Ping timeout: 255 seconds]
yomimono has quit [Ping timeout: 252 seconds]
Mercuria1Alchemi has quit [Ping timeout: 246 seconds]
Hannibal_Smith has quit [Quit: Leaving]
Hannibal_Smith has joined #ocaml
k1000 has quit [Remote host closed the connection]
tjscanlon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tjscanlon has joined #ocaml
lobo has quit [Quit: leaving]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kdef has quit [Quit: Leaving]
Kakadu has quit [Remote host closed the connection]
tjscanlon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sh0t has quit [Ping timeout: 256 seconds]
tjscanlon has joined #ocaml
swgillespie has joined #ocaml
k1000 has joined #ocaml
Simn has quit [Quit: Leaving]
seanmcl has quit [Ping timeout: 250 seconds]
sh0t has joined #ocaml
jonludlam has quit [Ping timeout: 256 seconds]
Hannibal_Smith has quit [Quit: Leaving]
MrScout has joined #ocaml
sh0t has quit [Ping timeout: 248 seconds]
systmkor has joined #ocaml
MrScout has quit [Read error: Connection reset by peer]
madroach has quit [Ping timeout: 264 seconds]
MrScout has joined #ocaml
madroach has joined #ocaml
uris77 has quit [Quit: leaving]
sh0t has joined #ocaml
BitPuffin|osx has joined #ocaml
agarwal1975 has quit [Quit: Connection closed for inactivity]