companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.05.0 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.05/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
sh0t has quit [Remote host closed the connection]
infinity0 has quit [Ping timeout: 248 seconds]
infinity0 has joined #ocaml
infinity0 has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 248 seconds]
zolk3ri has quit [Remote host closed the connection]
infinity0 has joined #ocaml
<rgrinberg> When was the -safe-string version introduced? Would like to know which minimum ocaml versions should I set if I use it
kerrhau has quit [Quit: bye!]
jao has joined #ocaml
pierpa has quit [Quit: Page closed]
malina has quit [Ping timeout: 255 seconds]
mfp has quit [Ping timeout: 258 seconds]
jao has quit [Remote host closed the connection]
jao has joined #ocaml
jao has quit [Disconnected by services]
jao has joined #ocaml
lucasem has left #ocaml [#ocaml]
samrat has joined #ocaml
enterprisey has joined #ocaml
wtetzner has quit [Ping timeout: 268 seconds]
Jesin has quit [Quit: Leaving]
dtornabene has joined #ocaml
zmt00 has quit [Quit: Leaving]
mbuf has joined #ocaml
enterprisey has quit [Ping timeout: 248 seconds]
jao has quit [Ping timeout: 258 seconds]
zv has quit [Ping timeout: 240 seconds]
infinity0_ has joined #ocaml
infinity0_ has quit [Changing host]
infinity0_ has joined #ocaml
infinity0 has quit [Killed (orwell.freenode.net (Nickname regained by services))]
enterprisey has joined #ocaml
Rome has joined #ocaml
RomanZ5 has quit [Ping timeout: 248 seconds]
stux|RC has quit [Ping timeout: 260 seconds]
stux|RC has joined #ocaml
cbot has quit [Quit: Leaving]
rpcope- has joined #ocaml
Drup has quit [*.net *.split]
Leonidas has quit [*.net *.split]
aniou_ has quit [*.net *.split]
rpcope has quit [*.net *.split]
antismap has quit [*.net *.split]
zaquest has quit [*.net *.split]
rwmjones has quit [*.net *.split]
fredcy has quit [*.net *.split]
hnrgrgr has quit [*.net *.split]
john51 has quit [*.net *.split]
lukky513 has quit [*.net *.split]
richi235 has quit [*.net *.split]
XGP15A-II has quit [*.net *.split]
companion_cube has quit [*.net *.split]
jrslepak has quit [*.net *.split]
john51 has joined #ocaml
kerrhau_ has quit [Ping timeout: 240 seconds]
kerrhau has joined #ocaml
kerrhau has quit [Changing host]
kerrhau has joined #ocaml
dtornabene has quit [Quit: Leaving]
MercurialAlchemi has joined #ocaml
infinity0 has quit [Ping timeout: 240 seconds]
Drup has joined #ocaml
XGP15A-II has joined #ocaml
jrslepak has joined #ocaml
hnrgrgr has joined #ocaml
rwmjones has joined #ocaml
antismap has joined #ocaml
Leonidas has joined #ocaml
richi235 has joined #ocaml
lukky513 has joined #ocaml
aniou_ has joined #ocaml
companion_cube has joined #ocaml
zaquest has joined #ocaml
fredcy has joined #ocaml
lukky513 has quit [Max SendQ exceeded]
antismap has quit [Max SendQ exceeded]
antismap has joined #ocaml
john51 has quit [Read error: Connection reset by peer]
isaachodes[m] has quit [*.net *.split]
equalunique[m] has quit [*.net *.split]
rom1504 has quit [*.net *.split]
stephe has quit [*.net *.split]
rom1504 has joined #ocaml
stephe has joined #ocaml
john51 has joined #ocaml
sz0 has joined #ocaml
lukky513 has joined #ocaml
Bluddy[m] has quit [Ping timeout: 252 seconds]
nadako[m] has quit [Ping timeout: 248 seconds]
M-jimt has quit [Ping timeout: 246 seconds]
regnat[m] has quit [Ping timeout: 255 seconds]
hdurer[m] has quit [Ping timeout: 255 seconds]
samrat[m] has quit [Ping timeout: 255 seconds]
aspiwack[m] has quit [Ping timeout: 255 seconds]
rgr[m] has quit [Ping timeout: 240 seconds]
copy` has quit [Ping timeout: 240 seconds]
drsmkl[m] has quit [Ping timeout: 246 seconds]
M-martinklepsch has quit [Ping timeout: 252 seconds]
orbifx[m] has quit [Ping timeout: 240 seconds]
aantron has quit [Ping timeout: 255 seconds]
yetanotherion[m] has quit [Ping timeout: 255 seconds]
timclassic has quit [Ping timeout: 240 seconds]
M-ErkkiSeppl has quit [Ping timeout: 255 seconds]
peddie[m] has quit [Ping timeout: 255 seconds]
srenatus has quit [Ping timeout: 255 seconds]
smondet[m] has quit [Ping timeout: 248 seconds]
multiocracy[m] has quit [Ping timeout: 276 seconds]
nkhodyunya has quit [Ping timeout: 276 seconds]
<companion_cube> but I think new versions of ocamlbuild support the tag uniformly
kerrhau has quit [Ping timeout: 240 seconds]
kerrhau has joined #ocaml
TheLemonMan has joined #ocaml
zv has joined #ocaml
infinity0 has joined #ocaml
andreas__ has joined #ocaml
freusque has joined #ocaml
aspiwack[m] has joined #ocaml
demonimin has quit [Ping timeout: 248 seconds]
samrat has quit [Ping timeout: 260 seconds]
M-martinklepsch has joined #ocaml
hdurer[m] has joined #ocaml
equalunique[m] has joined #ocaml
aantron has joined #ocaml
drsmkl[m] has joined #ocaml
peddie[m] has joined #ocaml
Bluddy[m] has joined #ocaml
srenatus has joined #ocaml
M-jimt has joined #ocaml
smondet[m] has joined #ocaml
samrat[m] has joined #ocaml
nadako[m] has joined #ocaml
rgr[m] has joined #ocaml
multiocracy[m] has joined #ocaml
copy` has joined #ocaml
yetanotherion[m] has joined #ocaml
nkhodyunya has joined #ocaml
regnat[m] has joined #ocaml
timclassic has joined #ocaml
M-ErkkiSeppl has joined #ocaml
isaachodes[m] has joined #ocaml
orbifx[m] has joined #ocaml
infinity0 has quit [Ping timeout: 255 seconds]
shiyaz has joined #ocaml
samrat has joined #ocaml
enterprisey has quit [Ping timeout: 248 seconds]
nkhodyunya has quit [Remote host closed the connection]
rgr[m] has quit [Remote host closed the connection]
samrat[m] has quit [Read error: Connection reset by peer]
copy` has quit [Remote host closed the connection]
timclassic has quit [Read error: Connection reset by peer]
yetanotherion[m] has quit [Remote host closed the connection]
drsmkl[m] has quit [Remote host closed the connection]
M-jimt has quit [Remote host closed the connection]
equalunique[m] has quit [Read error: Connection reset by peer]
nadako[m] has quit [Remote host closed the connection]
multiocracy[m] has quit [Remote host closed the connection]
isaachodes[m] has quit [Remote host closed the connection]
regnat[m] has quit [Remote host closed the connection]
aspiwack[m] has quit [Read error: Connection reset by peer]
orbifx[m] has quit [Remote host closed the connection]
peddie[m] has quit [Read error: Connection reset by peer]
hdurer[m] has quit [Read error: Connection reset by peer]
M-ErkkiSeppl has quit [Remote host closed the connection]
smondet[m] has quit [Read error: Connection reset by peer]
aantron has quit [Read error: Connection reset by peer]
Bluddy[m] has quit [Read error: Connection reset by peer]
M-martinklepsch has quit [Read error: Connection reset by peer]
srenatus has quit [Read error: Connection reset by peer]
aspiwack[m] has joined #ocaml
enterprisey has joined #ocaml
samrat[m] has joined #ocaml
Bluddy[m] has joined #ocaml
hdurer[m] has joined #ocaml
equalunique[m] has joined #ocaml
M-martinklepsch has joined #ocaml
aantron has joined #ocaml
M-jimt has joined #ocaml
drsmkl[m] has joined #ocaml
srenatus has joined #ocaml
smondet[m] has joined #ocaml
peddie[m] has joined #ocaml
multiocracy[m] has joined #ocaml
yetanotherion[m] has joined #ocaml
nkhodyunya has joined #ocaml
isaachodes[m] has joined #ocaml
copy` has joined #ocaml
regnat[m] has joined #ocaml
rgr[m] has joined #ocaml
nadako[m] has joined #ocaml
M-ErkkiSeppl has joined #ocaml
timclassic has joined #ocaml
orbifx[m] has joined #ocaml
malina has joined #ocaml
kakadu has joined #ocaml
malina has quit [Ping timeout: 240 seconds]
infinity0 has joined #ocaml
mfp has joined #ocaml
samrat has quit [Ping timeout: 264 seconds]
sapristi has joined #ocaml
rtb has joined #ocaml
kerrhau has quit [Ping timeout: 260 seconds]
sz0 has quit [Quit: Connection closed for inactivity]
sillyotter has joined #ocaml
sillyotter has quit [Client Quit]
demonimin has joined #ocaml
freusque has quit [Ping timeout: 264 seconds]
zolk3ri has joined #ocaml
samrat has joined #ocaml
fds__ is now known as fds
fds has quit [Changing host]
fds has joined #ocaml
freusque has joined #ocaml
sapristi has quit [Ping timeout: 248 seconds]
<orbifx[m]> can I get opam to ignore a self-signed certificate error?
shinnya has joined #ocaml
malina has joined #ocaml
<hannes> orbifx[m]: you can set in .opam/config a 'download-command: [ "wget" "--no-check-certificates" url ]'
<hannes> (the --no-check-certificates is likely from some random other http fetch command, and I don't remember the option name wget uses, curl uses "--insecure" I suspect, and `url` and `out` are special in that commandline and point to the url, respective the output file name as expected by opam)
freusque has quit [Read error: No route to host]
jmiven has quit [Quit: co'o]
jmiven has joined #ocaml
<orbifx[m]> Thanks hannes
<orbifx[m]> I found the flags mentioned in a commit too
<orbifx[m]> I think it's using git, and it's git that is complaining
sapristi has joined #ocaml
JSharp has quit [Ping timeout: 255 seconds]
mrallen1 has quit [Ping timeout: 255 seconds]
lynn has quit [Read error: Connection reset by peer]
lopex has quit [Read error: Connection reset by peer]
lynn has joined #ocaml
JSharp has joined #ocaml
mrallen1 has joined #ocaml
lopex has joined #ocaml
lukky513 has quit [Ping timeout: 260 seconds]
<hannes> orbifx[m]: depending on the repository server, you may be able to use git via http or via the git protocol...
<orbifx[m]> yeah, I got both. Switched to git for this case, but I think for pins it's better to use https if authentication isn't needed
<hannes> depends on your setup + scenario -- if your server doesn't have a valid TLS certificate, there's no benefit from using HTTPS over git/HTTP -- since anyone can man-in-the-middle with an invalid certificate
sz0 has joined #ocaml
malina has quit [Ping timeout: 268 seconds]
jbrown has joined #ocaml
lukky513 has joined #ocaml
ygrek_ has joined #ocaml
<orbifx[m]> ow
malina has joined #ocaml
<reynir> orbifx[m]: wget (on my system anyway) has --pinnedpubkey, but I don't think it will use your CAs if the fingerprint doesn't match
<reynir> apparently also curl
<orbifx[m]> got it over git for now
sh0t has joined #ocaml
<orbifx[m]> Are batteries ready for 4.06?
<companion_cube> apparently not yet, there's an issue about it
<orbifx[m]> Thanks companion_cube . Would I be quicker to drop the dependency from Logarion? :P
<companion_cube> I don't know, what do you use batteries for?
shinnya has quit [Ping timeout: 268 seconds]
sh0t has quit [Remote host closed the connection]
sh0t has joined #ocaml
rtb has quit [Ping timeout: 240 seconds]
sh0t has quit [Remote host closed the connection]
sh0t has joined #ocaml
<orbifx[m]> Good question
<orbifx[m]> Let me take a look
<orbifx[m]> I think it's trivial
<orbifx[m]> some string functions
<orbifx[m]> yeah, just to_list and from_list
<orbifx[m]> Which I think are now added in the standard library
Jesin has joined #ocaml
<companion_cube> I don't think so, converting strings to lists is almost always an anti-pattern
zolk3ri has quit [Quit: Lost terminal]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
<orbifx[m]> It's for filtering characters
<orbifx[m]> but the allocation and dependency are to much, I will reimplment
<orbifx[m]> What approach would you take to drop characters from a string based on a filter function?
sapristi has quit [Ping timeout: 248 seconds]
<orbifx[m]> drop or replace
<companion_cube> to filter chars, you can use Buffer + String.iter
kakadu has quit [Quit: Konversation terminated!]
<companion_cube> (I mean, I have this in containers, but it's a few lines otherwise)
<companion_cube> doing unicode properly is another challenge though)
<companion_cube> -)
sh0t has quit [Ping timeout: 250 seconds]
<orbifx[m]> Yeah. I should look into unicode too
<companion_cube> you could use uutf, for this, I think
<companion_cube> iterate on codepoints and filter on them
<orbifx[m]> yeah
<octachron> Depending on what kind of characters you intend to filter, uucp can help too (for instance, for filtering all 25 unicode whitespace characters)
<orbifx[m]> thanks octachron . Have you used the,?
<orbifx[m]> them*
nicoo has quit [Remote host closed the connection]
sh0t has joined #ocaml
nicoo has joined #ocaml
<companion_cube> 25 whitespace characters? erf
<orbifx[m]> uutf and uucp
sh0t has quit [Remote host closed the connection]
<octachron> orbifx[m], no
sh0t has joined #ocaml
shiyaz has quit [Ping timeout: 246 seconds]
shiyaz has joined #ocaml
enterprisey has quit [Read error: Connection reset by peer]
kakadu has joined #ocaml
Jesin has quit [Ping timeout: 240 seconds]
Jesin has joined #ocaml
Jesin has quit [Remote host closed the connection]
Onemorenickname has joined #ocaml
dakk has joined #ocaml
sh0t has quit [Remote host closed the connection]
sh0t has joined #ocaml
elfring has joined #ocaml
<elfring> Were run time characteristics ever be compared between the OCaml functions “String.concat” and “Printf.sprintf”?
Jesin has joined #ocaml
<companion_cube> to concatenate 2 strings? the first one should be faster
dakk has quit [Ping timeout: 240 seconds]
<elfring> ‎companion_cube‎: Can it occasionally look a bit more convenient to use Printf style functions?
dakk has joined #ocaml
<companion_cube> sure
<companion_cube> it's useful, otherwise it would be in the stdlib
<elfring> ‎companion_cube‎: Does OCaml provide a way to enclose a string by single characters which is more efficient than to call the function “String.concat”?
<companion_cube> "abcd" ?
<companion_cube> ah, well, you mean `"(" ^ "abcd" ^ ")"`? then no
<companion_cube> not that I'm aware of
sz0 has quit [Quit: Connection closed for inactivity]
<elfring> ‎companion_cube‎: I (and other developers) can come along the use case to enclose a string by quotation marks.
<companion_cube> is what I wrote above not sufficient?
<elfring> ‎companion_cube‎: I might be looking for more concrete data according to a technical comparison of the OCaml functions “String.concat” and “Printf.sprintf”.
malina has quit [Ping timeout: 250 seconds]
tane has joined #ocaml
<lyxia> elfring: Have you considered doing a benchmark yourself?
<elfring> ‎lyxia‎: Not yet. - I assumed that a respected information source would be available for OCaml somwhere already.
mbuf has quit [Quit: Leaving]
mk9 has joined #ocaml
<copy`> String.concat is probably the most efficient, doing only a single allocation for the result
zmt00 has joined #ocaml
sapristi has joined #ocaml
mk9 has quit [Quit: mk9]
HTTP_____GK1wmSU has joined #ocaml
HTTP_____GK1wmSU has quit [Read error: Connection reset by peer]
slash^ has joined #ocaml
zolk3ri has joined #ocaml
jao has joined #ocaml
Onemorenickname has quit [Ping timeout: 240 seconds]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
chbatey has joined #ocaml
malina has joined #ocaml
chbatey has left #ocaml [#ocaml]
slash^ has quit [Read error: Connection reset by peer]
tane has quit [Quit: Leaving]
ygrek_ has quit [Ping timeout: 240 seconds]
enterprisey has joined #ocaml
Onemorenickname has joined #ocaml
dakk has quit [Ping timeout: 250 seconds]
dakk has joined #ocaml
enterprisey has quit [Ping timeout: 240 seconds]
<sapristi> hello
<sapristi> I have a question about using modules
<lyxia> just ask!
<sapristi> yes i'm trying to ^^
<sapristi> but then I'm realising some problems I hadn't thought of
<sapristi> well roughly, my question is : is it possible to have some kind of module interface
<sapristi> so that you could use functions from two different modules without paying attention to the actual module you are using
<sapristi> but I'm realising that's just not possible
<sapristi> and it doesn't even really make sense
<lyxia> are you not looking for the "open" keyword?
<sapristi> nope ^^
ayxih has quit [Ping timeout: 258 seconds]
<sapristi> I was thinking of doing what is done here https://realworldocaml.org/v1/en/html/classes.html in section Object Types as Interfaces
<sapristi> but with modules
<lyxia> Well we have module signatures and functors
<lyxia> sapristi: have you looked at chapter 9
<sapristi> yes you're right I guess I could make a functor to build a common module for what I'm doing
ayxih has joined #ocaml
slash^ has joined #ocaml
jnavila has joined #ocaml
jao has quit [Ping timeout: 258 seconds]
<zolk3ri> Hmm, merlin still requires < 4.06 via opam.
hdurer[m] has quit [Ping timeout: 240 seconds]
M-martinklepsch has quit [Ping timeout: 240 seconds]
averell has quit [Ping timeout: 240 seconds]
timclassic has quit [Ping timeout: 240 seconds]
M-jimt has quit [Ping timeout: 240 seconds]
copy` has quit [Ping timeout: 250 seconds]
drsmkl[m] has quit [Ping timeout: 250 seconds]
smondet[m] has quit [Ping timeout: 250 seconds]
multiocracy[m] has quit [Ping timeout: 255 seconds]
srenatus has quit [Ping timeout: 255 seconds]
peddie[m] has quit [Ping timeout: 255 seconds]
equalunique[m] has quit [Ping timeout: 255 seconds]
Bluddy[m] has quit [Ping timeout: 252 seconds]
nadako[m] has quit [Ping timeout: 248 seconds]
aspiwack[m] has quit [Ping timeout: 248 seconds]
samrat[m] has quit [Ping timeout: 276 seconds]
regnat[m] has quit [Ping timeout: 246 seconds]
nkhodyunya has quit [Ping timeout: 240 seconds]
isaachodes[m] has quit [Ping timeout: 240 seconds]
orbifx[m] has quit [Ping timeout: 255 seconds]
rgr[m] has quit [Ping timeout: 255 seconds]
aantron has quit [Ping timeout: 276 seconds]
M-ErkkiSeppl has quit [Ping timeout: 264 seconds]
yetanotherion[m] has quit [Ping timeout: 264 seconds]
<def`> I didn't had the time to update yet.
<zolk3ri> Oh, hey! :)
<zolk3ri> I had no idea you were responsible for it. :D
elfring has quit [Quit: Konversation terminated!]
dakk has quit [Ping timeout: 258 seconds]
_andre has quit [Quit: leaving]
dakk has joined #ocaml
dakk has quit [Max SendQ exceeded]
dakk has joined #ocaml
dakk has quit [Max SendQ exceeded]
kerrhau has joined #ocaml
jao has joined #ocaml
samrat has quit [Ping timeout: 248 seconds]
dakk has joined #ocaml
aciniglio has joined #ocaml
dakk has quit [Ping timeout: 268 seconds]
slash^ has quit [Read error: Connection reset by peer]
rtb_ has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
jao has quit [Ping timeout: 268 seconds]
_whitelogger has joined #ocaml
aspiwack[m] has joined #ocaml
Jesin has quit [Quit: Leaving]
equalunique[m] has joined #ocaml
M-martinklepsch has joined #ocaml
Bluddy[m] has joined #ocaml
aantron has joined #ocaml
drsmkl[m] has joined #ocaml
peddie[m] has joined #ocaml
hdurer[m] has joined #ocaml
M-jimt has joined #ocaml
smondet[m] has joined #ocaml
srenatus has joined #ocaml
orbifx[m] has joined #ocaml
samrat[m] has joined #ocaml
multiocracy[m] has joined #ocaml
nadako[m] has joined #ocaml
copy` has joined #ocaml
isaachodes[m] has joined #ocaml
M-ErkkiSeppl has joined #ocaml
nkhodyunya has joined #ocaml
yetanotherion[m] has joined #ocaml
regnat[m] has joined #ocaml
rgr[m] has joined #ocaml
timclassic has joined #ocaml
webshinra has quit [Read error: Connection reset by peer]
webshinra has joined #ocaml
Onemorenickname has quit [Ping timeout: 240 seconds]
<orbifx[m]> Is there a way to get a Std.Buffer's actual size?
<jpdeplaix> orbifx[m]: what do you mean by "*actual* size" ? Buffer.length isn't what you want ?
<zolk3ri> Buffer.length returns the number of characters, he probably wants the number of elements pushed, you could just have a variable for it which you increase after each added string/bytes
aciniglio has quit [Ping timeout: 240 seconds]
<zolk3ri> err, added
<zolk3ri> s/increase/increment
mk9 has joined #ocaml
<orbifx[m]> Also, no String.fold_{left|right} ?
<companion_cube> just use an extended stdlib
enterprisey has joined #ocaml
rtb_ has quit [Ping timeout: 264 seconds]
enterprisey has quit [Remote host closed the connection]
jcelerier1 has joined #ocaml
lgd_ has quit [Remote host closed the connection]
dtornabene has joined #ocaml
lgd has joined #ocaml
argent_smith has joined #ocaml
<jcelerier1> hello :)
<jcelerier1> is it possible in ocaml to "apply" one generic type to another ?
<jcelerier1> I have two first types : type 'a foo1 = 'a * 'a ;; type 'a foo2 = 'a * 'a * 'a;;
<jcelerier1> I'd like to have a generic type "bar" that could transform either foo1 into float * float or foo2 in float * float * float
sapristi has quit [Remote host closed the connection]
sapristi has joined #ocaml
argent_smith has quit [Ping timeout: 260 seconds]
multiocracy[m] has quit [Remote host closed the connection]
nadako[m] has quit [Remote host closed the connection]
timclassic has quit [Remote host closed the connection]
M-ErkkiSeppl has quit [Remote host closed the connection]
yetanotherion[m] has quit [Remote host closed the connection]
nkhodyunya has quit [Remote host closed the connection]
M-martinklepsch has quit [Read error: Connection reset by peer]
orbifx[m] has quit [Read error: Connection reset by peer]
peddie[m] has quit [Read error: Connection reset by peer]
rgr[m] has quit [Remote host closed the connection]
drsmkl[m] has quit [Read error: Connection reset by peer]
M-jimt has quit [Read error: Connection reset by peer]
aspiwack[m] has quit [Read error: Connection reset by peer]
aantron has quit [Read error: Connection reset by peer]
regnat[m] has quit [Remote host closed the connection]
srenatus has quit [Read error: Connection reset by peer]
smondet[m] has quit [Remote host closed the connection]
hdurer[m] has quit [Read error: Connection reset by peer]
copy` has quit [Remote host closed the connection]
equalunique[m] has quit [Write error: Connection reset by peer]
isaachodes[m] has quit [Remote host closed the connection]
samrat[m] has quit [Remote host closed the connection]
Bluddy[m] has quit [Read error: Connection reset by peer]
kolko has quit [Quit: ZNC - http://znc.in]
<companion_cube> I don't think it's possible
<companion_cube> `bar` would have to be `λty1 ty2. ty1 ty2`, which is totally outside of OCaml's type langage
<jcelerier1> (are you the companion_cube to the λ-cube ? :p)
<companion_cube> :p
<jcelerier1> thanks anyways. is there some place where I can read about ocaml's type system ?
<thizanne> the ocaml solution to this kind of thing is usually "encode it with modules"
<companion_cube> [♥]
<thizanne> and usually, you don't want to
<jcelerier1> to understand what's possible or not
<jcelerier1> hah, that one
<companion_cube> probably books, or the OCaml manual
<companion_cube> (but it's a bit dry)
pierpa has joined #ocaml
<octachron> jcelerier1, note that if all the types of the tuples are equal, using functors work well
<octachron> jcelerier1, if the question is related to your list unzipping question from earlier: https://gist.github.com/Octachron/3b28513420b5f771d96c60c1f348a674
aspiwack[m] has joined #ocaml
<jcelerier1> octachron: not at all, but thanks, that's interesting !
shinnya has joined #ocaml
<jcelerier1> I'm trying to understand how to use modules (total ocaml noob here)
<zolk3ri> I would like to get some help from you guys, too. I have written my first OCaml program, and I'd like to get some feedback from old and wise OCaml programmers. :P
wtetzner has joined #ocaml
samrat[m] has joined #ocaml
M-martinklepsch has joined #ocaml
Bluddy[m] has joined #ocaml
equalunique[m] has joined #ocaml
hdurer[m] has joined #ocaml
aantron has joined #ocaml
drsmkl[m] has joined #ocaml
peddie[m] has joined #ocaml
M-jimt has joined #ocaml
srenatus has joined #ocaml
smondet[m] has joined #ocaml
orbifx[m] has joined #ocaml
nadako[m] has joined #ocaml
multiocracy[m] has joined #ocaml
rgr[m] has joined #ocaml
isaachodes[m] has joined #ocaml
yetanotherion[m] has joined #ocaml
copy` has joined #ocaml
regnat[m] has joined #ocaml
nkhodyunya has joined #ocaml
timclassic has joined #ocaml
M-ErkkiSeppl has joined #ocaml
<wtetzner> where can I find documentation on the current way to write ppx extensions (such that they work with jbuilder)?
<wtetzner> I found this, but it seems to be somewhat out of date: https://whitequark.org/blog/2014/04/16/a-guide-to-extension-points-in-ocaml/
<jcelerier1> zolk3ri: I think you can just put your code here (behind a pastebin or something like this)
<jcelerier1> (dunno about here but "common" IRC etiquette is "don't ask to ask, just ask")
<zolk3ri> jcelerier1: Yeah, sorry, got caught up with something.
mk9 has quit [Read error: Connection reset by peer]
<octachron> zolk3ri, one remark it is possible to write "print_error" and friends as 'let print_error fmt = Printf.eprintf ("%s:error: "^^fmt^^"\n") Sys.argv.(0)'
<octachron> like this it is possible to write directly format 'print_error "error version %d-%d" 1 2' removing the need to render the error message to string first
<zolk3ri> octachron: Thanks, will change that. :)
<octachron> Another point is that using Marshall for long-term storage is a bad idea on the long term
<zolk3ri> octachron: I've considered abandoning the database and just iterate over the source directory when unlinking, but of course if the tree has been modified between linking and unlinking, then there may be files left over. In any case, do you have any recommendations as to what to use instead of Marshall?
regnat[m] has quit [Remote host closed the connection]
copy` has quit [Remote host closed the connection]
M-jimt has quit [Remote host closed the connection]
aantron has quit [Read error: Connection reset by peer]
rgr[m] has quit [Remote host closed the connection]
M-martinklepsch has quit [Read error: Connection reset by peer]
hdurer[m] has quit [Remote host closed the connection]
nadako[m] has quit [Remote host closed the connection]
isaachodes[m] has quit [Remote host closed the connection]
Bluddy[m] has quit [Read error: Connection reset by peer]
peddie[m] has quit [Read error: Connection reset by peer]
multiocracy[m] has quit [Remote host closed the connection]
equalunique[m] has quit [Read error: Connection reset by peer]
drsmkl[m] has quit [Read error: Connection reset by peer]
yetanotherion[m] has quit [Remote host closed the connection]
aspiwack[m] has quit [Read error: Connection reset by peer]
srenatus has quit [Read error: Connection reset by peer]
M-ErkkiSeppl has quit [Remote host closed the connection]
orbifx[m] has quit [Read error: Connection reset by peer]
timclassic has quit [Read error: Connection reset by peer]
nkhodyunya has quit [Remote host closed the connection]
smondet[m] has quit [Read error: Connection reset by peer]
samrat[m] has quit [Read error: Connection reset by peer]
jao has joined #ocaml
jbrown has quit [Ping timeout: 240 seconds]
jcelerier1 has quit [Ping timeout: 240 seconds]
aspiwack[m] has joined #ocaml
<octachron> zolk3ri, there are quite few s-expression or json serialization library on opam
aspiwack[m] has quit [Remote host closed the connection]
sapristi has quit [Ping timeout: 250 seconds]
kakadu has quit [Remote host closed the connection]
aspiwack[m] has joined #ocaml
cbot has joined #ocaml
M-martinklepsch has joined #ocaml
hdurer[m] has joined #ocaml
equalunique[m] has joined #ocaml
Bluddy[m] has joined #ocaml
aantron has joined #ocaml
peddie[m] has joined #ocaml
M-jimt has joined #ocaml
drsmkl[m] has joined #ocaml
smondet[m] has joined #ocaml
orbifx[m] has joined #ocaml
srenatus has joined #ocaml
nadako[m] has joined #ocaml
samrat[m] has joined #ocaml
isaachodes[m] has joined #ocaml
multiocracy[m] has joined #ocaml
copy` has joined #ocaml
nkhodyunya has joined #ocaml
regnat[m] has joined #ocaml
yetanotherion[m] has joined #ocaml
rgr[m] has joined #ocaml
M-ErkkiSeppl has joined #ocaml
timclassic has joined #ocaml