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> ok Drup! Thanks a lot, I'll stick with the explicit coertion for now
bruce_r has quit [Ping timeout: 246 seconds]
enterprisey has joined #ocaml
kakadu_ has quit [Remote host closed the connection]
sh0t has quit [Remote host closed the connection]
cbot_ has quit [Ping timeout: 248 seconds]
groovy2shoes has quit [Ping timeout: 255 seconds]
sam___ has quit [Ping timeout: 248 seconds]
xuanrui has joined #ocaml
sh0t has joined #ocaml
cbot_ has joined #ocaml
xuanrui has quit [Ping timeout: 240 seconds]
cbot_ has quit [Quit: Leaving]
cbot has joined #ocaml
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 240 seconds]
groovy2shoes has joined #ocaml
xuanrui has joined #ocaml
xuanrui has quit [Remote host closed the connection]
xuanrui has joined #ocaml
cbot_ has joined #ocaml
cbot has quit [Ping timeout: 248 seconds]
cbot has joined #ocaml
cbot_ has quit [Ping timeout: 240 seconds]
xuanrui has quit [Quit: Leaving]
sam___ has joined #ocaml
sam___ has quit [Ping timeout: 248 seconds]
bruce_r has joined #ocaml
connorjacobsen has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
<coventry> Anyone got an example of using whatever facilities the toplevel uses to printf a datastructure with an abstract type, inside an OCaml program?
coventry has quit [Remote host closed the connection]
xuanrui has joined #ocaml
mfp__ has quit [Ping timeout: 248 seconds]
connorjacobsen has joined #ocaml
samrat has joined #ocaml
xuanrui has quit [Ping timeout: 240 seconds]
connorjacobsen has quit [Ping timeout: 248 seconds]
Ragora has quit [Read error: Connection reset by peer]
ShalokShalom has quit [Remote host closed the connection]
xuanrui has joined #ocaml
pierpa has quit [Quit: Page closed]
sz0 has quit [Quit: Connection closed for inactivity]
xuanrui has quit [Remote host closed the connection]
sam___ has joined #ocaml
Denommus has quit [Ping timeout: 252 seconds]
bruce_r has quit [Ping timeout: 276 seconds]
xuanrui has joined #ocaml
sam___ has quit [Ping timeout: 240 seconds]
SomeDamnBody has joined #ocaml
<SomeDamnBody> Has anybody used swig with ocaml?
<SomeDamnBody> I'm trying to import a C++ library for inference. Efficiency was important, and it isn't feasible to rewrite it. Right now I've made a good bit of progress, but I'm getting an error, where swig generates some declaration that conflicts with include headers from the system install.
bruce_r has joined #ocaml
sam___ has joined #ocaml
jlam_ has joined #ocaml
xuanrui has quit [Remote host closed the connection]
jlam__ has quit [Ping timeout: 248 seconds]
sam___ has quit [Ping timeout: 240 seconds]
xuanrui has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
xuanrui has quit [Ping timeout: 240 seconds]
xuanrui has joined #ocaml
sh0t has quit [Remote host closed the connection]
samrat has quit [Ping timeout: 248 seconds]
MercurialAlchemi has joined #ocaml
iitalics has joined #ocaml
iiitalics has joined #ocaml
iitalics has quit [Read error: Connection reset by peer]
iiitalics is now known as iitalics
jao has quit [Ping timeout: 248 seconds]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
sam___ has joined #ocaml
iitalics is now known as __tal_cs
__tal_cs is now known as iitalics
xuanrui has quit [Remote host closed the connection]
sam___ has quit [Ping timeout: 252 seconds]
xuanrui has joined #ocaml
pigeonv has joined #ocaml
samrat has joined #ocaml
mbuf has joined #ocaml
pigeonv has quit [Ping timeout: 260 seconds]
iitalics has quit [Ping timeout: 246 seconds]
iitalics has joined #ocaml
samrat has quit [Ping timeout: 248 seconds]
enterprisey has quit [Ping timeout: 248 seconds]
samrat has joined #ocaml
enterprisey has joined #ocaml
enterprisey has quit [Client Quit]
xuanrui has quit [Remote host closed the connection]
xuanrui has joined #ocaml
sam___ has joined #ocaml
xuanrui has quit [Remote host closed the connection]
MercurialAlchemi has joined #ocaml
sam___ has quit [Ping timeout: 252 seconds]
samrat has quit [Ping timeout: 240 seconds]
samrat has joined #ocaml
xuanrui has joined #ocaml
xuanrui has quit [Remote host closed the connection]
samrat has quit [Ping timeout: 248 seconds]
sam___ has joined #ocaml
samrat has joined #ocaml
sam___ has quit [Ping timeout: 240 seconds]
cbot has quit [Read error: Connection reset by peer]
xuanrui has joined #ocaml
xuanrui has quit [Ping timeout: 240 seconds]
iitalics has quit [Quit: /thread]
mengu has joined #ocaml
ShalokShalom has joined #ocaml
Simn has joined #ocaml
bruce_r has quit [Ping timeout: 246 seconds]
SomeDamnBody has quit [Remote host closed the connection]
xuanrui has joined #ocaml
sam___ has joined #ocaml
xuanrui has quit [Client Quit]
sam___ has quit [Ping timeout: 252 seconds]
xuanrui has joined #ocaml
pigeonv has joined #ocaml
malina has joined #ocaml
xuanrui has quit [Ping timeout: 248 seconds]
freusque has joined #ocaml
xuanrui has joined #ocaml
sam_ has joined #ocaml
xuanrui has quit [Quit: Leaving]
<toolslive_> have people been revising release opam packages (changing the opam files) ? I'm currently failing to reproduce a build with some pinned packages.
argent_smith has joined #ocaml
kakadu has joined #ocaml
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 248 seconds]
freyr has joined #ocaml
malina has quit [Remote host closed the connection]
sam_ has quit [Ping timeout: 248 seconds]
argent_smith1 has joined #ocaml
argent_smith has quit [Ping timeout: 252 seconds]
jimmyrcom has quit [Ping timeout: 246 seconds]
malina has joined #ocaml
jmiven has quit [Read error: Connection reset by peer]
jmiven has joined #ocaml
n4323 has joined #ocaml
n4323 has quit [Client Quit]
mfp__ has joined #ocaml
<freyr> is there any decent guide on building c-stubs with ocamlbuild?
copy_ has joined #ocaml
ziyourenxiang has joined #ocaml
<Drup> freyr: with ctypes ? There is an ocamlbuild plugin available on opam which is rather easy to use
<freyr> Drup: Nope, it's quite trivial with ctypes+ocamlbuild, but quite a pain to do with custom created cstubs
<Drup> ah, right
<Drup> oasis might help, it does a bit on magic to make it work rather less painfully
ollehar has joined #ocaml
toolslive_ has quit [Remote host closed the connection]
<freyr> Drup: It's rather easy for me to build it manually and get .a and .cmx files compiled, can I give path to my stubs directory to ocamlbuild with ocamlfind? I don't really know what is considered `library` in ocaml world, is a directory with .a and .cmx a library or ocamlfind package?
<Drup> more or less, yes
<Drup> (well, you also want a .cmxa for native, and .cmi might be useful :p)
<freyr> Drup: nice, how could I include lib directry from _tags, with <dir>: include?
<Drup> I never use ocamlbuild alone because I think it's a huge PITA, so I don't know
<Drup> oasis would really be much easier, especially for C bindings
<ollehar> about -1 < 'A' in JavaScript...
<ollehar> it's false.
<ollehar> should it be false?
ShalokShalom_ has joined #ocaml
<freyr> Drup: thanks
<Drup> ollehar: javascript handling of type errors is absurd, there is no point in discussing it
<ollehar> Drup: it is for me, since I have to make sure evaluation of binary operations behave the same in PHP and JS.
<ollehar> which they do not...
<Drup> Ahah, good luck with that
ShalokShalom has quit [Ping timeout: 240 seconds]
<Drup> Well, at least, the behavior is quite fix, you try it, and it will probably never change :)
<ollehar> yeah
malina has quit [Ping timeout: 248 seconds]
TheLemonMan has joined #ocaml
malina has joined #ocaml
<ollehar> Drup: would it be possible to create a small virtual machine in JS that mimics PHP in respect to operations?
mali__ has joined #ocaml
<ollehar> Or would it just boil down to the same thing? Byte code GT 1 2 --> 1 > 2
<ollehar> Now we generate JS from PHP. Maybe it would be better if we used same "bytecode" (array of tokens) in JS and PHP. Not sure.
dhil has joined #ocaml
sepp2k has joined #ocaml
sam___ has joined #ocaml
<Drup> ollehar: I'm so sorry, but I think you should consult. You are hurting yourself
connorjacobsen has joined #ocaml
<ollehar> :D consult?
connorjacobsen has quit [Ping timeout: 246 seconds]
ShalokShalom_ is now known as ShalokShalom
<Drup> you are tring to run php in js, I mean, whatever your problem is, there got to be a better solution than that
<ollehar> user submitted code that can safely be run both in client and server? in exactly the same way.
<ollehar> lua, I guess.
xuanrui has joined #ocaml
<Drup> Js, or any languages that compiles to js
<ollehar> and then node: eval(code).
<ollehar> on server side.
<ollehar> the application is already written in PHP, so.
<Drup> you can't shell out to node.js ?
<Drup> this is a lot more sane than trying to run php in js
<ollehar> sure
<ollehar> but it include another requirement.
<Drup> Well, it's your mental health *shrug*
<ollehar> yeah. thanks for feedback, tho!
sam___ has quit [Ping timeout: 240 seconds]
freusque has quit [Quit: WeeChat 1.7.1]
freusque has joined #ocaml
sam___ has joined #ocaml
BitPuffin|osx has joined #ocaml
superherointj has joined #ocaml
mali__ has quit [Quit: Throwing apples of Montserrat]
_andre has joined #ocaml
xuanrui has quit [Ping timeout: 248 seconds]
nomicflux has joined #ocaml
samrat has quit [Ping timeout: 240 seconds]
sam___ has quit [Ping timeout: 240 seconds]
xuanrui has joined #ocaml
freusque has quit [Quit: WeeChat 1.7.1]
freusque has joined #ocaml
jlam__ has joined #ocaml
freusque has quit [Quit: WeeChat 1.7.1]
dhil has quit [Ping timeout: 240 seconds]
jlam_ has quit [Ping timeout: 252 seconds]
freusque has joined #ocaml
samrat has joined #ocaml
superherointj has quit [Quit: Leaving]
toolslive has joined #ocaml
<toolslive> I have some TLS tests that succeed with Lwt.3.0.0 but fail with Lwt.3.1.0. Did anyone encounter similar problems ?
vramana_ has quit [Ping timeout: 248 seconds]
mbuf has quit [Quit: Leaving]
al-damiri has joined #ocaml
mengu has quit [Remote host closed the connection]
vramana_ has joined #ocaml
nomicflux has quit [Quit: nomicflux]
sam___ has joined #ocaml
samrat has quit [Ping timeout: 276 seconds]
mengu has joined #ocaml
ristos has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
xuanrui has quit [Ping timeout: 240 seconds]
Relax has joined #ocaml
mengu has joined #ocaml
aciniglio has joined #ocaml
sam___ has quit [Ping timeout: 255 seconds]
mengu has quit [Ping timeout: 255 seconds]
sh0t has joined #ocaml
mengu has joined #ocaml
sam___ has joined #ocaml
syamaoka has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
dhil has joined #ocaml
Associat0r has joined #ocaml
Associat0r has joined #ocaml
Associat0r has quit [Changing host]
copy_ has quit [Quit: Connection closed for inactivity]
sam___ has quit [Ping timeout: 240 seconds]
Denommus has joined #ocaml
mbuf has joined #ocaml
new_mans has joined #ocaml
<new_mans> I just installed Ocaml from https://fdopen.github.io/opam-repository-mingw/, and I'm getting "unbound module Pervasives" - what can I do to fix it?
<new_mans> nvm, it's meant to run from inside cygwin
new_mans has quit [Quit: Page closed]
freusque has quit [Quit: WeeChat 1.7.1]
samrat has joined #ocaml
samrat has quit [Client Quit]
samrat has joined #ocaml
jmiven has quit [Quit: co'o]
freusque has joined #ocaml
Relax has quit [Ping timeout: 255 seconds]
jmiven has joined #ocaml
Relax has joined #ocaml
mbuf has quit [Quit: Leaving]
freyr has quit [Remote host closed the connection]
pzp has joined #ocaml
BitPuffin|osx has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #ocaml
mengu has quit [Remote host closed the connection]
sam___ has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
sam___ has quit [Ping timeout: 248 seconds]
ShalokShalom has quit [Ping timeout: 255 seconds]
FreeBirdLjj has joined #ocaml
ollehar has quit [Ping timeout: 248 seconds]
jao has joined #ocaml
freusque has quit [Quit: WeeChat 1.7.1]
bruce_r has joined #ocaml
ShalokShalom has joined #ocaml
mengu has joined #ocaml
sam_ has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
sam_ has quit [Ping timeout: 252 seconds]
malina has quit [Ping timeout: 240 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
jbrown has joined #ocaml
jlam_ has joined #ocaml
jlam__ has quit [Ping timeout: 248 seconds]
pigeonv has quit [Ping timeout: 252 seconds]
sam_ has joined #ocaml
connorjacobsen has joined #ocaml
sam_ has quit [Ping timeout: 252 seconds]
pzp has quit [Quit: Connection closed for inactivity]
malina has joined #ocaml
SpiceGuid has joined #ocaml
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 246 seconds]
enterprisey has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]
slash^ has joined #ocaml
dhil has joined #ocaml
sam_ has joined #ocaml
samrat has quit [Ping timeout: 260 seconds]
sam_ has quit [Ping timeout: 240 seconds]
Ergatis has joined #ocaml
SpiceGuid has quit [Read error: Connection reset by peer]
Denommus has quit [Ping timeout: 255 seconds]
ygrek has joined #ocaml
enterprisey has quit [Remote host closed the connection]
storer has joined #ocaml
seangrove has joined #ocaml
<seangrove> Hey all, what's the best way to write an Lwt_stream.t string to a binary file?
dhil has quit [Ping timeout: 240 seconds]
<seangrove> I'm suspicious that Lwt_io.write_lines is inserting a newline after every 4kb chunk
TheLemonMan has joined #ocaml
nullx002 has quit [Ping timeout: 264 seconds]
nullx002 has joined #ocaml
sam_ has joined #ocaml
dhil has joined #ocaml
sam_ has quit [Ping timeout: 240 seconds]
slash^ has quit [Read error: Connection reset by peer]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
dhil has quit [Ping timeout: 252 seconds]
zv has quit [Ping timeout: 255 seconds]
toolslive has quit [Remote host closed the connection]
ShalokShalom has quit [Remote host closed the connection]
yegods has joined #ocaml
Relax has quit [Ping timeout: 260 seconds]
sam_ has joined #ocaml
Relax has joined #ocaml
sam_ has quit [Ping timeout: 252 seconds]
BitPuffin|osx has joined #ocaml
yegods has quit [Ping timeout: 252 seconds]
pierpa has joined #ocaml
yegods has joined #ocaml
yegods_ has joined #ocaml
jimmyrcom has joined #ocaml
yegods has quit [Ping timeout: 252 seconds]
connorjacobsen has quit [Read error: Connection reset by peer]
connorjacobsen has joined #ocaml
sz0 has joined #ocaml
yegods_ has quit [Ping timeout: 248 seconds]
<rgrinberg> seangrove: sounds like the elements in your Lwt_stream.t are 4kb chunks
<rgrinberg> This is the implementation of Lwt_io.write_lines
<rgrinberg> i don't see anything to be suspicious of
ayxih has joined #ocaml
sam_ has joined #ocaml
infinity0_ has joined #ocaml
infinity0 is now known as Guest38109
infinity0_ has quit [Changing host]
infinity0_ has joined #ocaml
infinity0_ is now known as infinity0
Guest38109 has quit [Killed (adams.freenode.net (Nickname regained by services))]
nullx002 has quit [Ping timeout: 248 seconds]
connorjacobsen has quit [Read error: Connection reset by peer]
pigeonv has joined #ocaml
sam_ has quit [Ping timeout: 260 seconds]
connorjacobsen has joined #ocaml
nullx002 has joined #ocaml
Relax has quit [Ping timeout: 252 seconds]
_andre has quit [Quit: leaving]
mengu has joined #ocaml
|jbrown| has joined #ocaml
jbrown has quit [Ping timeout: 248 seconds]
sepp2k has quit [Quit: Leaving.]
|jbrown| has quit [Ping timeout: 240 seconds]
big_num has joined #ocaml
connorja_ has joined #ocaml
connorjacobsen has quit [Read error: Connection reset by peer]
pigeonv has quit [Ping timeout: 248 seconds]
aciniglio has quit [Ping timeout: 255 seconds]
sam_ has joined #ocaml
Ergatis has quit [Ping timeout: 240 seconds]
copy_ has joined #ocaml
sh0t has quit [Remote host closed the connection]
argent_smith1 has quit [Quit: Leaving.]
ShalokShalom has joined #ocaml
Associat0r has quit [Read error: Connection reset by peer]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
Simn has quit [Quit: Leaving]
ShalokShalom has quit [Remote host closed the connection]
Ergatis has joined #ocaml
peterbb has joined #ocaml
pierpa has quit [Quit: Page closed]
cbot has joined #ocaml
storer42 has joined #ocaml
storer42 has quit [Max SendQ exceeded]
storer42 has joined #ocaml
storer has quit [Ping timeout: 248 seconds]
sh0t has joined #ocaml
sam_ has quit [Ping timeout: 276 seconds]
sam_ has joined #ocaml
malina has quit [Ping timeout: 248 seconds]
ziyourenxiang has quit [Ping timeout: 240 seconds]
BitPuffin|osx has quit [Remote host closed the connection]
connorjacobsen has joined #ocaml
connorja_ has quit [Read error: Connection reset by peer]
kakadu_ has quit [Remote host closed the connection]
ShalokShalom has joined #ocaml
Ergatis has quit [Ping timeout: 248 seconds]