ChanServ changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | http://www.ocaml.org | OCaml 4.01.0 announce at http://bit.ly/1851A3R | Logs at http://irclog.whitequark.org/ocaml
rand000 has quit [Quit: leaving]
johnnydiabetic has joined #ocaml
alpounet has joined #ocaml
ontologiae has joined #ocaml
alpounet has quit [Ping timeout: 272 seconds]
ontologiae has quit [Ping timeout: 255 seconds]
alpounet has joined #ocaml
Hannibal_Smith has quit [Quit: Sto andando via]
johnf has quit [Ping timeout: 272 seconds]
Eyyub has quit [Ping timeout: 255 seconds]
thomasga has quit [Quit: Leaving.]
ontologiae has joined #ocaml
<weykent> is there a good guide on how to package ocaml libraries?
<Drup> I did that http://ocaml.org/learn/tutorials/setting_up_with_oasis.html but some don't agree :)
oriba has quit [Quit: Verlassend]
<weykent> Drup, so oasis is still the way to go? okay
<weykent> Drup, the part i wasn't sure about is that i have an ~/.opam, and i was wondering if i should install things into there or have two places containing ocaml libraries
<Drup> oh
<Drup> then, the way I do things is that I place an "opam" file in the root of the project
claudiuc has joined #ocaml
<Drup> with the last version of opam, you can pin a non-existing package and it will use the metadata from the opam file to create a package
<Drup> and after that, you can install it like an opam package
<weykent> ah, okay
<Drup> you can also set up a personal opam repository pointing to the git repository where live your project
<Drup> an example of such repository : https://github.com/ocsigen/opam-ocsigen
claudiuc has quit [Remote host closed the connection]
<weykent> Drup, oh, i benchmarked it--all the solutions came out at about the same speed. there was no significant difference between them
<Drup> Hashtbl are the same speed than map based solution ?
<Drup> that's surprising, how many elements did you had ?
<weykent> Drup, oh, no, i didn't try with Hashtbl yet
<Drup> ok
<weykent> Drup, just with the unrolled loop
<Drup> yeah, I'm not surprised, the loop/recursion is not the hard part in your case
<Drup> (the hashing probably is)
<weykent> if only Digest had a t -> string -> t, i could shave some cycles off
alpounet has quit [Remote host closed the connection]
alpounet has joined #ocaml
alpounet has quit [Ping timeout: 264 seconds]
racycle has quit [Quit: ZZZzzz…]
q66 has quit [Quit: Leaving]
jao has joined #ocaml
ontologiae has quit [Ping timeout: 240 seconds]
jao has quit [Changing host]
jao has joined #ocaml
claudiuc has joined #ocaml
claudiuc has quit [Remote host closed the connection]
ygrek has joined #ocaml
dant3 has quit [Quit: I'm using a Free IRC Bouncer from BNC4FREE - http://bnc4free.com/]
Averell has quit [Ping timeout: 245 seconds]
BiDOrD_ has joined #ocaml
teiresias has quit [Ping timeout: 245 seconds]
BiDOrD has quit [Ping timeout: 264 seconds]
Averell has joined #ocaml
teiresias has joined #ocaml
Eyyub has joined #ocaml
rgrinberg has joined #ocaml
johnnydiabetic has quit [Ping timeout: 255 seconds]
dant3 has joined #ocaml
BitPuffin has quit [Ping timeout: 244 seconds]
yacks has quit [Ping timeout: 244 seconds]
alpounet has joined #ocaml
alpounet has quit [Ping timeout: 272 seconds]
Eyyub has quit [Ping timeout: 245 seconds]
jao has quit [Ping timeout: 272 seconds]
araujo has quit [Quit: Leaving]
pyon has quit [Quit: restart]
pyon has joined #ocaml
pterygota has joined #ocaml
alpounet has joined #ocaml
yastero has quit [Ping timeout: 240 seconds]
alpounet has quit [Ping timeout: 255 seconds]
yastero has joined #ocaml
Oejet has joined #ocaml
yacks has joined #ocaml
axiles has joined #ocaml
Simn has joined #ocaml
slash^ has joined #ocaml
alpounet has joined #ocaml
Kakadu has joined #ocaml
Arsenik has joined #ocaml
huza has joined #ocaml
huza has quit [Quit: WeeChat 0.3.8]
maattdd has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
lordkryss has joined #ocaml
<baz_> L)
BitPuffin has joined #ocaml
rgrinberg has joined #ocaml
pminten has joined #ocaml
<BitPuffin> hmm
<BitPuffin> Map.t takes a comparator function as a type arg
<BitPuffin> type ('key, +'value, 'cmp) t
<BitPuffin> I thought only types were allowed?
<Drup> it doesn't take the function, only the type
<BitPuffin> or wait it's a function
<BitPuffin> weird
<BitPuffin> I mean type
<BitPuffin> lol
<Drup> (and that's only Core's Map.t)
rgrinberg has quit [Quit: Leaving.]
thomasga has joined #ocaml
maattdd has quit [Ping timeout: 245 seconds]
strobegen1 has joined #ocaml
strobegen2 has joined #ocaml
ontologiae has joined #ocaml
strobegen has quit [Ping timeout: 240 seconds]
strobegen1 has quit [Ping timeout: 272 seconds]
maattdd has joined #ocaml
maattdd has quit [Ping timeout: 264 seconds]
Simn has quit [Ping timeout: 240 seconds]
tane has joined #ocaml
q66 has joined #ocaml
ygrek has quit [Ping timeout: 255 seconds]
eikke_ has joined #ocaml
eikke_ has quit [Client Quit]
maattdd has joined #ocaml
maattdd has quit [Ping timeout: 264 seconds]
maattdd has joined #ocaml
Geir_ has joined #ocaml
Simn has joined #ocaml
maattdd has quit [Ping timeout: 264 seconds]
darkf has quit [Quit: Leaving]
maattdd has joined #ocaml
ygrek has joined #ocaml
shinnya has quit [Ping timeout: 272 seconds]
shinnya has joined #ocaml
pterygota has quit [Remote host closed the connection]
pterygota has joined #ocaml
pterygota has quit [Remote host closed the connection]
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
Thooms has joined #ocaml
ggole has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
Geir_ has quit [Quit: leaving]
pminten has quit [Remote host closed the connection]
oriba has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
oriba has quit [Quit: Verlassend]
Eyyub has joined #ocaml
ontologiae has quit [Ping timeout: 264 seconds]
ontologiae has joined #ocaml
philtor_ has joined #ocaml
maattdd has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 255 seconds]
maattdd has joined #ocaml
slash^ has joined #ocaml
Hannibal_Smith has joined #ocaml
philtor_ has quit [Ping timeout: 245 seconds]
oriba has joined #ocaml
johnnydiabetic has joined #ocaml
Hannibal_Smith has quit [Quit: Sto andando via]
thomasga has quit [Quit: Leaving.]
racycle has joined #ocaml
oriba has quit [Quit: Verlassend]
groovy2shoes has joined #ocaml
maattdd has quit [Ping timeout: 264 seconds]
Arsenik has quit [Remote host closed the connection]
lordkryss has quit [Ping timeout: 240 seconds]
ontologiae has quit [Ping timeout: 245 seconds]
maattdd has joined #ocaml
rgrinberg has joined #ocaml
alpounet has quit [Remote host closed the connection]
alpounet has joined #ocaml
alpounet_ has joined #ocaml
alpounet has quit [Read error: Connection reset by peer]
alpounet_ has quit [Remote host closed the connection]
slash^ has quit [Read error: Connection reset by peer]
slash^ has joined #ocaml
Thooms has quit [Quit: WeeChat 0.3.8]
rgrinberg has quit [Quit: Leaving.]
slash^ has left #ocaml [#ocaml]
alpounet has joined #ocaml
slash^ has joined #ocaml
maattdd has quit [Ping timeout: 264 seconds]
maattdd has joined #ocaml
mort___ has joined #ocaml
groovy2shoes has quit [Quit: It is now safe to turn off your Groovebot.]
groovy2shoes has joined #ocaml
alpounet has quit [Remote host closed the connection]
lordkryss has joined #ocaml
rgrinberg has joined #ocaml
Hannibal_Smith has joined #ocaml
Eyyub has quit [Ping timeout: 244 seconds]
johnnydiabetic has quit [Remote host closed the connection]
racycle has quit [Quit: ZZZzzz…]
maattdd has quit [Ping timeout: 244 seconds]
johnnydiabetic has joined #ocaml
msch has quit [Ping timeout: 245 seconds]
msch has joined #ocaml
arquebus has joined #ocaml
arquebus has quit [Quit: Konversation terminated!]
mort___ has quit [Quit: Leaving.]
philtor_ has joined #ocaml
mort___ has joined #ocaml
maattdd has joined #ocaml
maattdd has quit [Ping timeout: 245 seconds]
mort___ has quit [Quit: Leaving.]
strobegen has joined #ocaml
strobegen2 has quit [Ping timeout: 240 seconds]
maattdd has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
maattdd has quit [Ping timeout: 255 seconds]
Eyyub has joined #ocaml
<weykent> is it possible to expose private implementation details only in tests, or can i only test the public interface of a module?
groovy2shoes has quit [Ping timeout: 244 seconds]
<weykent> i suppose i could define the tests in the same module...
maattdd has joined #ocaml
finbarr has joined #ocaml
thomasga has joined #ocaml
finbarr has left #ocaml [#ocaml]
Arsenik has joined #ocaml
ggole has quit []
maattdd has quit [Ping timeout: 255 seconds]
axiles has quit [Remote host closed the connection]
maattdd has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
philtor_ has quit [Ping timeout: 244 seconds]
ontologiae has joined #ocaml
Hannibal_Smith has quit [Quit: Sto andando via]
Thooms has joined #ocaml
studybot_ has quit [Remote host closed the connection]
studybot_ has joined #ocaml
<orbitz> weykent: IMO, you should only test the public interface
<orbitz> And i think putting test code in the module code is a poor choice
<orbitz> Many smart people idsagree with me
<mrvn> orbitz: splitting code that belongs together into multiple files sucks. they diverge
<mrvn> on the other hand having the test code in every binary that uses the module sucks too
ontologiae has quit [Ping timeout: 244 seconds]
mort___ has joined #ocaml
<orbitz> mrvn: which is why I prefer to do black-box testing. The interface should hopefully change very little, and if it does change your tests should fail\
Simn has quit [Quit: Leaving]
octeract has joined #ocaml
Arsenik has quit [Remote host closed the connection]
ollehar has joined #ocaml
mort___ has quit [Quit: Leaving.]
johnnydiabetic has quit [Quit: Leaving]
maattdd has quit [Ping timeout: 240 seconds]
shinnya has joined #ocaml
maattdd has joined #ocaml
Eyyub has quit [Ping timeout: 264 seconds]
diginux has quit [Ping timeout: 264 seconds]
Thooms has quit [Quit: WeeChat 0.3.8]
Eyyub has joined #ocaml
tane has quit [Quit: Verlassend]
thomasga has quit [Quit: Leaving.]
rgrinberg has quit [Quit: Leaving.]
diginux has joined #ocaml
ontologiae has joined #ocaml
lordkryss has quit [Ping timeout: 245 seconds]
ollehar has quit [Ping timeout: 255 seconds]
racycle has joined #ocaml
rgrinberg has joined #ocaml
thomasga has joined #ocaml
inr has quit [Ping timeout: 245 seconds]
inr has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
rgrinberg has joined #ocaml
darkf has joined #ocaml
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
maattdd has quit [Ping timeout: 264 seconds]
Oejet has quit [Quit: Leaving.]
madroach has quit [Ping timeout: 252 seconds]
madroach has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
octeract has quit [Ping timeout: 246 seconds]
racycle has quit [Quit: ZZZzzz…]
maattdd has joined #ocaml