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