companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.04.0 release notes: http://ocaml.org/releases/4.04.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
infinity0_ has joined #ocaml
infinity0 has quit [Killed (leguin.freenode.net (Nickname regained by services))]
infinity0 has joined #ocaml
infinity0_ is now known as infinity0
infinity0 has quit [Remote host closed the connection]
infinity0_ has joined #ocaml
infinity0_ is now known as infinity0
infinity0 has joined #ocaml
infinity0 has quit [Changing host]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
chinglish has joined #ocaml
infinity0 has quit [Remote host closed the connection]
average has quit [Ping timeout: 245 seconds]
\Mike has joined #ocaml
average has joined #ocaml
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
cranmax has joined #ocaml
raphaelss has joined #ocaml
average has quit [Ping timeout: 245 seconds]
average has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
ryanartecona has quit [Quit: ryanartecona]
pete_8 has joined #ocaml
pete_8 has quit [Ping timeout: 246 seconds]
raphaelss has quit [Ping timeout: 268 seconds]
mfp_ has quit [Ping timeout: 246 seconds]
\Mike has quit [Quit: \Mike]
silver has quit [Read error: Connection reset by peer]
spew has joined #ocaml
cggong has quit [Quit: cggong]
jack5638 has quit [Ping timeout: 260 seconds]
jack5638 has joined #ocaml
cggong has joined #ocaml
cggong has quit [Quit: cggong]
Algebr has quit [Ping timeout: 240 seconds]
andreas_ has quit [Quit: Connection closed for inactivity]
jlam has quit [Quit: Leaving]
jlam has joined #ocaml
agravier has quit [Quit: agravier]
agravier has joined #ocaml
agravier has quit [Client Quit]
cggong has joined #ocaml
cranmax has quit [Quit: Connection closed for inactivity]
spew has quit [Ping timeout: 255 seconds]
cggong has quit [Quit: cggong]
Algebr has joined #ocaml
ziyourenxiang has quit [Ping timeout: 240 seconds]
chinglish has quit [Ping timeout: 260 seconds]
Algebr has quit [Ping timeout: 260 seconds]
\h has left #ocaml ["WeeChat 1.7.1"]
samrat has joined #ocaml
cggong has joined #ocaml
chinglish has joined #ocaml
samrat has quit [Ping timeout: 240 seconds]
cggong has quit [Quit: cggong]
alexelcu has quit [Remote host closed the connection]
cggong has joined #ocaml
cggong has quit [Client Quit]
copy` has quit [Quit: Connection closed for inactivity]
infinity0 has joined #ocaml
samrat has joined #ocaml
samrat has quit [Ping timeout: 246 seconds]
samrat has joined #ocaml
copy` has joined #ocaml
olibjerd has joined #ocaml
FreeBirdLjj has joined #ocaml
slash^ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
agravier has joined #ocaml
dinosaure has joined #ocaml
ziyourenxiang has joined #ocaml
samrat has quit [Ping timeout: 240 seconds]
samrat has joined #ocaml
_whitelogger has joined #ocaml
lizzin has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #ocaml
Mercuria1Alchemi has joined #ocaml
pyx has joined #ocaml
pyx has quit [Client Quit]
apache2_ has joined #ocaml
Enjolras_ has quit [Ping timeout: 255 seconds]
lostman has quit [Quit: Connection closed for inactivity]
Mercuria1Alchemi has quit [Ping timeout: 246 seconds]
pete_8 has joined #ocaml
agravier has quit [Quit: agravier]
agravier has joined #ocaml
dwillems has joined #ocaml
agravier has quit [Quit: agravier]
rk[ghost] has joined #ocaml
agravier has joined #ocaml
_whitelogger has joined #ocaml
liuhx has joined #ocaml
liuhx has quit [Client Quit]
copy` has quit [Quit: Connection closed for inactivity]
pete_8 has quit [Ping timeout: 240 seconds]
tane_ has joined #ocaml
rk[ghost] has quit [Ping timeout: 255 seconds]
agravier has quit [Quit: agravier]
pete_8 has joined #ocaml
ryankarason has joined #ocaml
ryankarason is now known as rk[ghost]
Merv__ has joined #ocaml
Merv_ has quit [Ping timeout: 246 seconds]
mfp_ has joined #ocaml
TheLemonMan has joined #ocaml
cranmax has joined #ocaml
argent_smith has joined #ocaml
samrat has quit [Ping timeout: 240 seconds]
sepp2k has joined #ocaml
chinglish has quit [Ping timeout: 240 seconds]
boojinks has joined #ocaml
nicooo has quit [Remote host closed the connection]
nicooo has joined #ocaml
sh0t has joined #ocaml
agravier has joined #ocaml
chinglish has joined #ocaml
Mercuria1Alchemi has joined #ocaml
dwillems has quit [Ping timeout: 246 seconds]
agravier has quit [Quit: agravier]
`micro has quit [Ping timeout: 260 seconds]
`micro has joined #ocaml
`micro is now known as Guest35883
silver has joined #ocaml
zpe has quit [Ping timeout: 240 seconds]
zpe has joined #ocaml
sillyotter has joined #ocaml
sillyotter has quit [Client Quit]
cggong has joined #ocaml
ollehar1 has joined #ocaml
cggong has quit [Client Quit]
sepp2k has quit [Ping timeout: 240 seconds]
zpe has quit [Remote host closed the connection]
sepp2k has joined #ocaml
cggong has joined #ocaml
P4Titan has joined #ocaml
chinglish has quit [Ping timeout: 246 seconds]
cggong has quit [Quit: cggong]
pete_8 has quit [Ping timeout: 260 seconds]
tane_ has quit [Quit: Leaving]
cggong has joined #ocaml
jack5638 has quit [Ping timeout: 260 seconds]
dwillems has joined #ocaml
jack5638 has joined #ocaml
agravier has joined #ocaml
jack5638 has quit [Ping timeout: 246 seconds]
jack5638 has joined #ocaml
dwillems has quit [Ping timeout: 240 seconds]
cggong has quit [Quit: cggong]
cranmax has quit [Quit: Connection closed for inactivity]
spew has joined #ocaml
FreeBirdLjj has joined #ocaml
samrat has joined #ocaml
pete_8 has joined #ocaml
agravier has quit [Quit: agravier]
superherointj has joined #ocaml
samrat has quit [Ping timeout: 240 seconds]
jack5638 has quit [Ping timeout: 245 seconds]
jack5638 has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
P4Titan has quit [Ping timeout: 240 seconds]
dwillems has joined #ocaml
samrat has joined #ocaml
lizzin has joined #ocaml
dwillems has quit [Ping timeout: 255 seconds]
lizzin is now known as Guest86224
maufred has quit [Ping timeout: 246 seconds]
superherointj has quit [Quit: Leaving]
<reynir> hrm
cranmax has joined #ocaml
cranmax2 has joined #ocaml
maufred has joined #ocaml
cranmax2 has quit [Client Quit]
<reynir> urgh, opam broke on my laptop after I upgraded packages (arch). Some issue with the solver
cranmax2 has joined #ocaml
sh0t has quit [Quit: Leaving]
cranmax2 has quit [Client Quit]
spew has quit [Ping timeout: 246 seconds]
MercurialAlchemi has quit [Ping timeout: 255 seconds]
ontologiae_ has joined #ocaml
jnavila has joined #ocaml
agravier has joined #ocaml
spew has joined #ocaml
cggong has joined #ocaml
copy` has joined #ocaml
enterprisey has joined #ocaml
argent_smith has quit [Quit: Leaving.]
AlexRussia has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ocaml
cggong has quit [Quit: cggong]
ziyourenxiang has quit [Ping timeout: 268 seconds]
dwillems has joined #ocaml
ontologiae_ has quit [Ping timeout: 240 seconds]
jnavila has quit [Ping timeout: 255 seconds]
ryanartecona has joined #ocaml
jack5638 has quit [Ping timeout: 268 seconds]
ryanartecona has quit [Client Quit]
ryanartecona has joined #ocaml
jack5638 has joined #ocaml
boojinks has quit [Quit: Lost terminal]
ontologiae_ has joined #ocaml
ontologiae_ has quit [Ping timeout: 255 seconds]
samrat has quit [Ping timeout: 240 seconds]
kakadu has joined #ocaml
Mercuria1Alchemi has quit [Ping timeout: 268 seconds]
cranmax has quit [Quit: Connection closed for inactivity]
<def`> rgrinberg: I think so. Can you describe your problem?
<def`> (you got a parsetree from Pparse, that's it?)
<rgrinberg> def` i'm using compiler libs to parse some ml sources and extract some attributes. would like to it in an ocaml version agnostic way
<rgrinberg> i know pparse and compiler libs itself might change across versions, but seems way more unlikely
<def`> I see
<def`> There are two parts: parsing will be done with whatever version is provided by compiler libs.
<def`> Then for your processing you should pick an OCaml version (4.04 or 4.05 is a good choice)
<def`> In this file, use "open Ast_404" to shadow the parsetree with the version you chose.
<def`> Now, to connect the two versions, you need to convert the parsetrees back and forth.
<def`> in module Migrate_parsetree.Versions, you can use "migrate ocaml_current ocaml_404" to get functions for migrating different part of the parsetrees from compiler-libs version to 4.04
<def`> And "migrate ocaml_404 ocaml_current" for the other way.
<def`> ((migrate ocaml_current ocaml_404).copy_structure for instance)
dwillems has quit [Ping timeout: 255 seconds]
ryanartecona has quit [Quit: ryanartecona]
ontologiae_ has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
ontologiae_ has quit [Ping timeout: 240 seconds]
ontologiae_ has joined #ocaml
agravier has quit [Quit: agravier]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
ygrek_ has joined #ocaml
<rgrinberg> ok thanks def` let me give that a try
enterprisey has quit [Remote host closed the connection]
ontologiae_ has quit [Ping timeout: 240 seconds]
cggong has joined #ocaml
andreas_ has joined #ocaml
FreeBirdLjj has joined #ocaml
microt has joined #ocaml
<apache2_> can anyone point me to an ocaml project that uses the Graphics module?
<apache2_> or a library for pure ocaml parsing of images (in whatever format)?
FreeBirdLjj has quit [Remote host closed the connection]
zpe has joined #ocaml
FreeBirdLjj has joined #ocaml
<microt> Can someone let me know how to include_matches = true in Janestreets Re2.split function?
<companion_cube> if it's an optional argument: ~include_matches:true
<microt> Great! Let me give that a try! New to this.
cggong has quit [Quit: cggong]
ontologiae_ has joined #ocaml
<microt> Companion_cube - thank you for the help!
FreeBirdLjj has quit [Ping timeout: 246 seconds]
<companion_cube> no pb
cranmax has joined #ocaml
AndroUser has joined #ocaml
cggong has joined #ocaml
cggong has quit [Client Quit]
olibjerd has quit [Ping timeout: 240 seconds]
AndroUser has quit [Client Quit]
AndroUser has joined #ocaml
microt has quit [Quit: Mutter: www.mutterirc.com]
AndroUser is now known as cranmax2
dudelson has joined #ocaml
olibjerd has joined #ocaml
<octachron> apache2_, there is camlImages for handling image format
<octachron> apache2_, the Graphics module is more here for pedagogical purpose than anything
<apache2_> I had a look at camlImages,but it seems to use c bindings for all the formats
zpe_ has joined #ocaml
zpe has quit [Read error: Connection reset by peer]
TheLemonMan has joined #ocaml
<octachron> apache2_, well image processing is performance intensive, there is few points in not reusing optimized C-libraries
<apache2_> yeah, one of the major ones being that it's nice to retain the control of your system
<apache2_> ie not getting hacked by people who likes to browse bug trackers for common optimized c libraries and applying 3 year old security flaws
<apache2_> another one is portability
<apache2_> different trade-offs for different situations; personally I'd like to avoid running C code on untrusted inputs
cranmax2 has quit [Remote host closed the connection]
<octachron> apache2_, it is a valid argument ; you are certainly free to write your own secure pure-ocaml image processing library.
<companion_cube> apache2_: what if it's custom C code?
dudelson has quit [Quit: ZNC 1.6.5 - http://znc.in]
jnavila has joined #ocaml
<apache2_> companion_cube: there's nothing magical about commercially or freely available C code; it's all just someone else's C code :)
<companion_cube> yeah yeah
<companion_cube> but vulnearabilities are different
<companion_cube> it's probably better to write fortran anyway :D
<apache2_> in some cases they know C better than you, pay more attention to details, and have had more eyes on the code.
<apache2_> :)
<apache2_> octachron: :) I was just hoping someone else had done the hard work of that :)
dudelson has joined #ocaml
MercurialAlchemi has joined #ocaml
spew has quit [Ping timeout: 255 seconds]
ollehar1 has quit [Quit: ollehar1]
slash^ has quit [Read error: Connection reset by peer]
argent_smith has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 255 seconds]
zpe_ has quit [Remote host closed the connection]
cggong has joined #ocaml
alexelcu has joined #ocaml
alexelcu has quit [Remote host closed the connection]
alexelcu has joined #ocaml
philtor has joined #ocaml
cggong has quit [Quit: cggong]
olibjerd has quit [Ping timeout: 246 seconds]
cggong has joined #ocaml
zaquest has quit [Remote host closed the connection]
madroach has quit [Remote host closed the connection]
madroach has joined #ocaml
zaquest has joined #ocaml
sepp2k has quit [Quit: Leaving.]
ontologiae_ has quit [Ping timeout: 246 seconds]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
jnavila has quit [Remote host closed the connection]
dwillems has joined #ocaml
dwillems has quit [Ping timeout: 240 seconds]
cggong has quit [Quit: cggong]
olibjerd has joined #ocaml
cggong has joined #ocaml
cggong has quit [Client Quit]
cggong has joined #ocaml
cggong has quit [Client Quit]
cggong has joined #ocaml
kakadu has quit [Remote host closed the connection]
argent_smith has quit [Quit: Leaving.]
olibjerd has quit [Quit: olibjerd]
cggong has quit [Quit: cggong]
copy` has quit [Quit: Connection closed for inactivity]
spew has joined #ocaml
cranmax has quit [Quit: Connection closed for inactivity]
iitalics has joined #ocaml
iitalics has quit [Client Quit]
ziyourenxiang has joined #ocaml
copy` has joined #ocaml
ygrek has joined #ocaml
ygrek_ has quit [Ping timeout: 260 seconds]
dtornabene has joined #ocaml
ziyourenxiang has quit [Ping timeout: 260 seconds]
pete_8 has quit [Ping timeout: 260 seconds]
cggong has joined #ocaml
AlexRussia has quit [Ping timeout: 255 seconds]