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
eh_eff has joined #ocaml
eh_eff has quit [Ping timeout: 248 seconds]
sgnb` has joined #ocaml
sgnb has quit [Ping timeout: 240 seconds]
Algebr has quit [Ping timeout: 258 seconds]
<ELLIOTTCABLE> figured that out about five minutes after asking. forgot a simple `open Core`. ignore me! ;_;
enterprisey has quit [Quit: Leaving]
leah2 has joined #ocaml
keep_learning has quit [Ping timeout: 240 seconds]
leah2 has quit [Ping timeout: 248 seconds]
ristos has quit [Quit: Connection closed for inactivity]
mengu has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
Algebr has joined #ocaml
_whitelogger has joined #ocaml
Algebr has quit [Remote host closed the connection]
cbot has joined #ocaml
leah2 has joined #ocaml
mengu has joined #ocaml
mfp__ has quit [Ping timeout: 264 seconds]
mengu has quit [Ping timeout: 258 seconds]
yawaramin_ has joined #ocaml
shinnya has quit [Ping timeout: 248 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
samrat has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
leah2 has quit [Ping timeout: 258 seconds]
enterprisey has joined #ocaml
FreeBirdLjj has joined #ocaml
leah2 has joined #ocaml
marcux has joined #ocaml
marcux has quit [Quit: Lost terminal]
leah2 has quit [Ping timeout: 240 seconds]
mengu has joined #ocaml
leah2 has joined #ocaml
mengu has quit [Ping timeout: 248 seconds]
leah2 has quit [Ping timeout: 248 seconds]
yawaramin_ has quit [Ping timeout: 255 seconds]
<rgrinberg> Leonidas: you're misinterpreting -p. -p <pacakges> makes jbuilder ignore all non <packages> in your build root
<rgrinberg> in your case, that basically ignores the local redis library
<rgrinberg> -p is not meant for target selection. it's meant to build code against findlib, rather than local libraries
leah2 has joined #ocaml
mengu has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
sharno has quit [Quit: Leaving...]
marcux has joined #ocaml
leah2 has quit [Ping timeout: 248 seconds]
marcux has quit [Quit: leaving]
marcux has joined #ocaml
eh_eff has joined #ocaml
marcux has quit [Client Quit]
marcux has joined #ocaml
eh_eff has quit [Ping timeout: 240 seconds]
yawaramin_ has joined #ocaml
leah2 has joined #ocaml
govg has joined #ocaml
mengu has joined #ocaml
samrat has quit [Ping timeout: 240 seconds]
marcux has quit [Ping timeout: 240 seconds]
leah2 has quit [Ping timeout: 246 seconds]
mengu has quit [Ping timeout: 240 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
samrat has joined #ocaml
leah2 has joined #ocaml
mengu has joined #ocaml
mengu has quit [Ping timeout: 258 seconds]
_whitelogger has joined #ocaml
mbuf has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
mengu has joined #ocaml
presiden has joined #ocaml
FreeBirdLjj has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
leah2 has quit [Ping timeout: 240 seconds]
slash^ has joined #ocaml
infinity0_ has joined #ocaml
infinity0 is now known as Guest63281
infinity0_ has quit [Changing host]
infinity0 has joined #ocaml
Guest63281 has quit [Killed (rajaniemi.freenode.net (Nickname regained by services))]
infinity0_ is now known as infinity0
eh_eff has joined #ocaml
mengu has joined #ocaml
eh_eff has quit [Ping timeout: 258 seconds]
mengu has quit [Ping timeout: 264 seconds]
enterprisey has quit [Remote host closed the connection]
leah2 has joined #ocaml
yawaramin_ has quit [Ping timeout: 258 seconds]
dakk has joined #ocaml
leah2 has quit [Ping timeout: 258 seconds]
samrat has quit [Ping timeout: 240 seconds]
enterprisey has joined #ocaml
sz0 has joined #ocaml
cbot has quit [Quit: Leaving]
leah2 has joined #ocaml
<Leonidas> rgrinberg: oh, ok. So I'd need to define an alias like @runtest-lwt and @runtest-async to build and run the respective tests?
FreeBirdLjj has quit [Remote host closed the connection]
<Leonidas> ELLIOTTCABLE: Sometimes asking in the channel is like rubber ducking :-)
reynir is now known as rubberduckreynir
mengu has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBird_ has joined #ocaml
mengu has quit [Remote host closed the connection]
FreeBirdLjj has quit [Ping timeout: 255 seconds]
Simn has joined #ocaml
samrat has joined #ocaml
FreeBird_ has quit [Ping timeout: 248 seconds]
leah2 has quit [Ping timeout: 248 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
mengu has joined #ocaml
leah2 has joined #ocaml
samrat has quit [Ping timeout: 258 seconds]
FreeBirdLjj has joined #ocaml
freusque has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
mengu has quit [Remote host closed the connection]
enterprisey has quit [Remote host closed the connection]
leah2 has quit [Ping timeout: 248 seconds]
argent_smith has joined #ocaml
FreeBirdLjj has joined #ocaml
mengu has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 248 seconds]
leah2 has joined #ocaml
eh_eff has joined #ocaml
FreeBirdLjj has joined #ocaml
eh_eff has quit [Ping timeout: 264 seconds]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
leah2 has quit [Ping timeout: 246 seconds]
samrat has joined #ocaml
igstan has joined #ocaml
<Leonidas> rubberduckreynir: I can't get jbuilder to build only lwt/async versions, dear rubber duck :p
<rubberduckreynir> :D
<rubberduckreynir> I only started using jbuilder very recently, so I'm afraid I can't do more than... rubber duck :)
tormen has quit [Remote host closed the connection]
mnemem has joined #ocaml
AltGr has joined #ocaml
fre has joined #ocaml
freusque has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
<Leonidas> that's ok, dear rubber duck, thanks for listening anyway :)
FreeBirdLjj has quit [Ping timeout: 258 seconds]
ShalokShalom has quit [Ping timeout: 246 seconds]
mfp__ has joined #ocaml
igstan has quit [Quit: igstan]
sz0 has quit [Quit: Connection closed for inactivity]
Simn has quit [Ping timeout: 264 seconds]
Trou has joined #ocaml
<Trou> hello, I'm trying to get a "tags" files for a project that uses PPX. otags states (for an old version) that they don't support ppx
<Trou> is there a way to do that ?
tane has joined #ocaml
eh_eff has joined #ocaml
shinnya has joined #ocaml
kakadu has joined #ocaml
copy_ has joined #ocaml
eh_eff has quit [Ping timeout: 248 seconds]
samrat has quit [Ping timeout: 260 seconds]
leah2 has joined #ocaml
leah2 has quit [Ping timeout: 240 seconds]
kerrhau has quit [Ping timeout: 248 seconds]
Simn has joined #ocaml
leah2 has joined #ocaml
Simn has quit [Ping timeout: 255 seconds]
<Leonidas> Trou: you mean like something like ctags?
<kakadu> Folks, I get Invalid_argument("Filename.chop_extension") when I'm trying to use ppx rewriter with ocamldep. https://paste.in.ua/2939/#3 Which experiment can I try next?
leah2 has quit [Ping timeout: 255 seconds]
<def`> kakadu: what is the output of running
<def`> /home/kakadu/.opam/4.05.0+flambda/lib/ppx_deriving/./ppx_deriving
<def`> alone ?
<def`> (ppx_deriving is in an unsatisfactory state right now :/)
<kakadu> def`: Usage: /home/kakadu/.opam/4.05.0+flambda/lib/ppx_deriving/ppx_deriving [extra_args] <infile> <outfile>
<kakadu> ppx_deriving is pinned to git repo
<def`> indeed.
<Leonidas> def`: how so? I think it recently got back into a usable state?
<Leonidas> ("usable" for me is "does not conflict with ppx-driver" but maybe your definition is different)
<Trou> Leonidas: yes, theres's "otags" that generates files compatible with emacs and vi
<def`> good state is that it should behave properly with omp (jbuilder, etc)
<Leonidas> def`: I thought the current release does? TIL
<def`> Leonidas: there is a bit of breakage between omp driver & current ppx_deriving (because commandline conventions are different, and extension registration is not completely satisfactory, maybe omp has to be adjusted a bit)
<def`> but I don't know the problem well enough to propose a solution :P
<kakadu> also, git version of opam file has version 4.1 inside but 4.2 seems to be released
<kakadu> it probably should be upgraded
ShalokShalom has joined #ocaml
amatheus has quit [Ping timeout: 258 seconds]
amatheus has joined #ocaml
freyr has joined #ocaml
sh0t has joined #ocaml
Pepe_ has quit [Quit: leaving]
BitPuffin|osx has joined #ocaml
mbuf has quit [Quit: rcirc on GNU Emacs 25.3.2]
eh_eff has joined #ocaml
al-damiri has joined #ocaml
<kakadu> Folks, if my ppx_deriving plugin requires some code from ppx_tools should
<kakadu> 1) adjust invoking a plugin by specifyinf ppx_tools.cmxsomthing?
<kakadu> 2) adjust compilation of my_plugin.cma?
ShalokShalom has quit [Ping timeout: 248 seconds]
ShalokShalom_ has joined #ocaml
<kakadu> google says that I should pack my plugin with required modules
<kakadu> It seems that this plugins are tricky
<kakadu> def`: ?
<def`> I just think that you should prefer ppx_tools_versioned over ppx_tools
_andre has joined #ocaml
eh_eff has quit [Ping timeout: 264 seconds]
samrat has joined #ocaml
ShalokShalom_ is now known as ShalokShalom
tormen has joined #ocaml
Nephe has quit [Remote host closed the connection]
leah2 has joined #ocaml
leah2 has quit [Ping timeout: 248 seconds]
<kakadu> def`: does compilation line looks OK for you?
<kakadu> ocamlfind ocamlopt -shared -linkall -package ppx_tools_versioned,ppx_tools_versioned.metaquot_405,ppx_deriving.api,ppx_tools_versioned -package 'ocaml-migrate-parsetree ocaml-migrate-parsetree ppx_tools_versioned.metaquot_405' -I ppx ppx/ppx_deriving_gt.cmxa -o ppx/ppx_deriving_gt.cmxs
<kakadu> I get a strange linking error
<kakadu> undefined symbol: camlAst_convenience_405__lid_inner_176
<kakadu> maybe it is inside Longident.parse and inlining raises this error message....
mnemem has quit [Ping timeout: 255 seconds]
ristos has joined #ocaml
<kakadu> nope, thereis no inner in the Longident.ml
amatheus has quit [Quit: amatheus]
amatheus has joined #ocaml
amatheus has quit [Client Quit]
amatheus has joined #ocaml
yawaramin_ has joined #ocaml
samrat has quit [Ping timeout: 248 seconds]
Nephe has joined #ocaml
yawaramin_ has quit [Ping timeout: 258 seconds]
shinnya has quit [Ping timeout: 248 seconds]
yawaramin_ has joined #ocaml
fre has quit [Quit: WeeChat 1.7.1]
gasche has left #ocaml ["ERC (IRC client for Emacs 24.5.1)"]
freusque has joined #ocaml
kakadu_ has joined #ocaml
kakadu_ has quit [Client Quit]
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
mengu has quit [Ping timeout: 264 seconds]
freyr has quit [Remote host closed the connection]
govg has quit [Ping timeout: 246 seconds]
samrat has joined #ocaml
govg has joined #ocaml
mengu has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
frefity has joined #ocaml
<frefity> How do I get an Unix.inet_addr from a hostname? ie, do dns lookup?
<hannes> frefity: via Unix.gethostbyname or Unix.getaddrinfo
<frefity> thanks :)
<frefity> just found it
<hannes> (in case you're using Lwt, there are Lwt_unix wrappers for this)
<frefity> nice, I am
<hannes> which are then working asynchronously..
yawaramin_ has quit [Ping timeout: 246 seconds]
yawaramin_ has joined #ocaml
hjshf has quit [Quit: Connection closed for inactivity]
ziyourenxiang has quit [Ping timeout: 258 seconds]
frefity has quit [Quit: Ex-Chat]
BitPuffin|osx has quit [Ping timeout: 248 seconds]
mengu has quit [Remote host closed the connection]
dakk has quit [Remote host closed the connection]
marcux has joined #ocaml
marcux has quit [Remote host closed the connection]
jnavila has joined #ocaml
kerrhau has joined #ocaml
kerrhau has quit [Changing host]
kerrhau has joined #ocaml
mnemem has joined #ocaml
SpiceGuid has joined #ocaml
aciniglio has joined #ocaml
marcux has joined #ocaml
mnemem has quit [Ping timeout: 248 seconds]
kerrhau has quit [Ping timeout: 258 seconds]
marcux has quit [Quit: Lost terminal]
leah2 has joined #ocaml
ygrek has joined #ocaml
mengu has joined #ocaml
andreas__ has quit [Quit: Connection closed for inactivity]
govg has joined #ocaml
leah2 has quit [Ping timeout: 240 seconds]
mnemem has joined #ocaml
leah2 has joined #ocaml
mnemem has quit [Ping timeout: 248 seconds]
mnemem has joined #ocaml
groovy2shoes has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
samrat has quit [Ping timeout: 240 seconds]
webshinra has quit [Remote host closed the connection]
andreas__ has joined #ocaml
leah2 has quit [Ping timeout: 255 seconds]
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
NaCl_ has joined #ocaml
NaCl_ has quit [Changing host]
NaCl_ has joined #ocaml
NaCl_ has quit [Client Quit]
SpiceGuid has quit [Quit: ChatZilla 0.9.93 [SeaMonkey 2.48/20170707010522]]
kakadu has quit [Quit: Konversation terminated!]
leah2 has joined #ocaml
eh_eff has joined #ocaml
eh_eff has quit [Ping timeout: 240 seconds]
Simn has joined #ocaml
yawaramin_ has quit [Ping timeout: 258 seconds]
slash^ has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
jcelerier has joined #ocaml
<jcelerier> hi :)
<jcelerier> I'm slowly delving in madness: trying to follow this pdf to unrust my ocaml-fu https://caml.inria.fr/pub/docs/fpcl/fpcl-06.pdf
<jcelerier> but the first thing that I type in the repl fails!
<jcelerier> type person = {Name:string; Age:int; Job:string; City:string};;
<jcelerier> tells me "syntax error" around "Name"
kerrhau has joined #ocaml
kerrhau has quit [Changing host]
kerrhau has joined #ocaml
<ygrek> @jcelerier, your book is about caml light
<ygrek> you are typing into ocaml
<ygrek> these are different languages
<jcelerier> ... yuck. that's the first link in google when searching for "ocaml define structure"
mengu has joined #ocaml
<jcelerier> thanks
<octachron> … it is always frustrating when OCaml lose to Caml light in term of SEO
mrgrieves has quit [Quit: leaving]
ikanobori has joined #ocaml
kakadu has joined #ocaml
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 258 seconds]
webshinra has joined #ocaml
copy_ has quit [Quit: Connection closed for inactivity]
tane has quit [Quit: Leaving]
enterprisey has joined #ocaml
kerrhau has quit [Quit: bye!]
enterprisey_ has joined #ocaml
eh_eff has joined #ocaml
groovy2shoes has joined #ocaml
kerrhau has joined #ocaml
kerrhau has quit [Changing host]
kerrhau has joined #ocaml
Associat0r has joined #ocaml
Associat0r has quit [Changing host]
Associat0r has joined #ocaml
Associat0r has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
nahra has quit [Remote host closed the connection]
AltGr has left #ocaml [#ocaml]
Denommus has joined #ocaml
nahra has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
enterprisey_ has quit [Remote host closed the connection]
enterprisey has quit [Remote host closed the connection]
mnemem_ has joined #ocaml
enterprisey has joined #ocaml
mnemem has quit [Ping timeout: 246 seconds]
jnavila has joined #ocaml
<ELLIOTTCABLE> Leonidas: <3
aciniglio has quit [Ping timeout: 258 seconds]
jnavila has quit [Ping timeout: 240 seconds]
yawaramin_ has joined #ocaml
gacepa has joined #ocaml
Space_Sheep has joined #ocaml
SpaceSheep has quit [Ping timeout: 255 seconds]
amatheus has quit [Quit: amatheus]
mnemem has joined #ocaml
sh0t has quit [Remote host closed the connection]
mnemem_ has quit [Ping timeout: 258 seconds]
lncrz has joined #ocaml
<lncrz> Hi. I'm kinda lost after a quick search for OpenGL bindings in Ocaml, could someone please tell me which one is supposed to be the canonical one ?
mnemem has quit [Read error: Connection reset by peer]
argent_smith has quit [Quit: Leaving.]
<smondet[m]> lncrz: if you want to do something in a "modern" way: http://erratique.ch/software/tgls
<smondet[m]> If you want to make old-school OpenGL that works on a system from 1998 `Lablgl` still works (I used not long ago for a quick hack)
<lncrz> smondet[m]: thanks. Ill go with tgls I guess
cbot has joined #ocaml
<smondet[m]> lncrz: also, there are WebGL bindings in `js_of_ocaml`'s library
Trou has left #ocaml [#ocaml]
mnemem has joined #ocaml
bjs has quit [Ping timeout: 264 seconds]
bjs has joined #ocaml
kakadu_ has quit [Remote host closed the connection]
bjs has quit [Ping timeout: 264 seconds]
bjs has joined #ocaml
jbrown has joined #ocaml
Denommus has quit [Quit: going home]
enterprisey has quit [Read error: Connection reset by peer]
Simn has quit [Quit: Leaving]
bjs has quit [Ping timeout: 248 seconds]
yawaramin_ has quit [Ping timeout: 258 seconds]
yawaramin_ has joined #ocaml
bjs has joined #ocaml
xorpse has joined #ocaml
xorpse has quit [Client Quit]