adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml MOOC http://1149.fr/ocaml-mooc | OCaml 4.02.3 announced http://ocaml.org/releases/4.02.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
JacobEdelman_ has quit [Quit: Connection closed for inactivity]
ygrek has quit [Ping timeout: 248 seconds]
Kakadu has quit [Remote host closed the connection]
silver_ has joined #ocaml
darkf has joined #ocaml
silver has quit [Ping timeout: 260 seconds]
noddy has quit [Ping timeout: 244 seconds]
cdidd has joined #ocaml
cdidd has quit [Remote host closed the connection]
cdidd has joined #ocaml
cdidd has quit [Remote host closed the connection]
cdidd has joined #ocaml
cdidd has quit [Remote host closed the connection]
cdidd has joined #ocaml
noddy has joined #ocaml
cdidd has quit [Remote host closed the connection]
silver_ has quit [Quit: rakede]
cdidd has joined #ocaml
dsheets has joined #ocaml
nicholasf has quit [Remote host closed the connection]
nicholasf has joined #ocaml
dsheets has quit [Ping timeout: 264 seconds]
cdidd has quit []
cdidd has joined #ocaml
sh0t has quit [Ping timeout: 248 seconds]
teknozulu has quit [Ping timeout: 244 seconds]
ygrek has joined #ocaml
cdidd has quit []
Vintila has joined #ocaml
cdidd has joined #ocaml
noddy has quit [Ping timeout: 260 seconds]
cdidd has quit []
pierpa has quit [Ping timeout: 268 seconds]
cdidd has joined #ocaml
cdidd has quit [Remote host closed the connection]
cdidd has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 276 seconds]
cdidd has quit []
malina has quit [Ping timeout: 246 seconds]
malina has joined #ocaml
cdidd has joined #ocaml
cdidd has quit []
malina has quit [Remote host closed the connection]
cdidd has joined #ocaml
d0nn1e has quit [Ping timeout: 244 seconds]
d0nn1e has joined #ocaml
AltGr has joined #ocaml
Vintila has quit [Ping timeout: 276 seconds]
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 244 seconds]
AltGr has left #ocaml [#ocaml]
AltGr has joined #ocaml
AltGr has left #ocaml [#ocaml]
slash^ has joined #ocaml
FreeBirdLjj has joined #ocaml
badon has quit [Disconnected by services]
badon_ has joined #ocaml
badon_ is now known as badon
avarsh has quit [Quit: Leaving]
aj__ has quit [Quit: Leaving]
leyyin has joined #ocaml
Sorella has quit [Quit: Connection closed for inactivity]
chemical_rascal has quit [Quit: Page closed]
Kakadu has joined #ocaml
Kakadu has quit [Remote host closed the connection]
matason has joined #ocaml
nichola__ has joined #ocaml
nicholasf has quit [Read error: Connection reset by peer]
shinnya has quit [Ping timeout: 260 seconds]
matason has quit [Ping timeout: 246 seconds]
tmtwd_ has joined #ocaml
badon has quit [Disconnected by services]
Simn has joined #ocaml
badon has joined #ocaml
solrize has quit [Remote host closed the connection]
inr has quit [Remote host closed the connection]
inr has joined #ocaml
tmtwd_ has quit [Ping timeout: 268 seconds]
copy` has quit [Quit: Connection closed for inactivity]
<flux> seems the "execute" fragments of pgocaml.ppx don't work :/, though I guess that's no biggie for real use
ygrek has quit [Ping timeout: 240 seconds]
teknozulu has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 248 seconds]
teknozulu has quit [Ping timeout: 244 seconds]
ggole has joined #ocaml
<flux> def`, so merlin does some caching on buffer contents or the tree state? is there a way to purge? with pgsql.ppx the validity of types can easily change without code changing
<flux> hmm, I guess restarting does do the trick :), binding it to a key would work for me
git-commit has quit [Quit: quit]
sz0 has joined #ocaml
jgjl has joined #ocaml
A1977494 has joined #ocaml
nichola__ has quit [Remote host closed the connection]
nicholasf has joined #ocaml
A1977494 has quit [Quit: Leaving.]
zpe has joined #ocaml
cdidd has quit [Remote host closed the connection]
cdidd has joined #ocaml
Vintila has joined #ocaml
ggole_ has joined #ocaml
Nahra has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
ggole has quit [Ping timeout: 244 seconds]
silver has joined #ocaml
Nahra has joined #ocaml
Nahra has quit [Remote host closed the connection]
matason has joined #ocaml
Nahra has joined #ocaml
Sorella has joined #ocaml
dsheets has joined #ocaml
matason has quit [Ping timeout: 268 seconds]
larhat has joined #ocaml
<sfri> Hi, I just have discover that the ocaml API of Llvm_executionengine get changed in the version 3.6. V3.5: http://llvm.moe/ocaml-3.5/Llvm_executionengine.ExecutionEngine.html V3.6: http://llvm.moe/ocaml-3.6/Llvm_executionengine.html
<sfri> In the version 3.5 it was possible to execute a function with the JIT interpreter with run_function. This is no more possible in 3.6. Does anybody know if there is an other way to do this?
dsheets has quit [Remote host closed the connection]
manizzle has quit [Ping timeout: 264 seconds]
dsheets has joined #ocaml
ggole__ has joined #ocaml
ggole_ has quit [Ping timeout: 260 seconds]
larhat has quit [Quit: Leaving.]
nicholasf has quit [Remote host closed the connection]
Reshi has joined #ocaml
<def`> flux: this behavior is disabled on latest version (git)
<def`> it turned out to not be a really good idea :)
cdidd has quit []
cdidd has joined #ocaml
jgjl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dwillems has joined #ocaml
pierpa has joined #ocaml
cdidd has quit []
ggole__ is now known as ggole
cdidd has joined #ocaml
dsheets has quit [Remote host closed the connection]
darkf has quit [Quit: Leaving]
dsheets has joined #ocaml
dsheets has quit [Remote host closed the connection]
cdidd has quit [Client Quit]
dsheets has joined #ocaml
dsheets has quit [Remote host closed the connection]
sz0 has quit [Quit: Connection closed for inactivity]
cdidd has joined #ocaml
<flux> def`, great, I need to try that :)
sh0t has joined #ocaml
<flux> def`, yes, works as I hoped
<flux> there is still some caching going on
<flux> if I save, remove a table from postgresql and then do merlin-error-check, the errors aren't updated
<flux> but if I modify the buffer, then merlin-error-check works ok
cdidd has quit []
cdidd has joined #ocaml
dsheets has joined #ocaml
larhat has joined #ocaml
orbifx has joined #ocaml
Vintila has quit [Ping timeout: 244 seconds]
cdidd has quit []
cdidd has joined #ocaml
noddy has joined #ocaml
cdidd has quit []
larhat has quit [Quit: Leaving.]
manizzle has joined #ocaml
dhil has joined #ocaml
<orbifx> hey all
<companion_cube> o/
<orbifx> do you guys jabber? (xmpp)
<orbifx> who with?
<companion_cube> just IRC for me, and a bit of slack (which I dislike)
cdidd has joined #ocaml
<orbifx> not tried slack, not compelled either :P
larhat has joined #ocaml
uucico has joined #ocaml
<uucico> i have a seemingly simple question about using ocaml libraries. i need a function from the extunix library, so on Ubuntu, i installed the libextunix-ocaml-dev package, which put the library's .cmi, .cmxa, etc files into /usr/lib/ocaml/extunix/... now ocamlbuild can't find these libraries (e.g., if i say "open Extunix"). what's the right way to help ocamlbuild find Extunix?
<uucico> the seemingly obvious answer of adding "-I /usr/lib/ocaml/extunix" to ocamlbuild's arguments gives an error message: Included or excluded directories must be implicit (not "/usr/lib/ocaml/extunix").
<hannes> uucico: I'd recommend to use opam http://opam.ocaml.org for managing OCaml package dependencies
<companion_cube> or, using the distro pacakges, you probably need -I +extunix
<companion_cube> (or use the systemwide ocamlfind: ocamlbuild -use-ocamlfind -package extunix)
<uucico> hannes: thanks, will check out opam. is that a replacement for ocamlbuild?
<uucico> companion_cube: interesting, hadn't seen the + syntax for -I. somehow, "-I +extunix" seems to have no effect.
<uucico> and -use-ocamlfind -package extunix also doesn't seem to help.. strange.
<hannes> uucico: no, it manages packages, and relies on (e.g. ocamlbuild) for building them
<hannes> uucico: it sets some environment variables according to your installation (and lives in ~/.opam/system/...)
<uucico> ah, ok. maybe by looking at opam i can figure out the right arguments to ocamlbuild then.
<companion_cube> well, opam is only useful for developers
<def`> uucico: what is the output of ocamlfind list on your computer ?
<companion_cube> not for shipping software
<uucico> "ocamlfind list | grep extunix" shows: extunix (version: 0.1.3)
<uucico> alright, it seems like "ocamlbuild -use-ocamlfind -package X" works for other packages that i was having similar trouble with (e.g., zarith) -- thanks for the suggestion!
<def`> but not for extunix?!
<uucico> i'll go try to figure out what's special about extunix in contrast with, say, zarith
<def`> what is the error message?
<def`> (opam really helps with this mess :P)
<companion_cube> meh, it's not for the same things
<def`> that's unrelated
tane has joined #ocaml
<hannes> companion_cube: "shipping" means binaries, or?
<uucico> ah, perhaps i misunderstood ocaml's capitalization rules for module names. i was trying to use Extunix, but the file i wanted was /usr/lib/ocaml/extunix/extUnix.cmi, so apparently i should have used ExtUnix.
<companion_cube> hannes: for deploying production software, yes
<def`> companion_cube: and you wouldn't use opam for that?
<companion_cube> well, asking users to install opam + aspcud + compile deps + compile the program is far too much
<uucico> thanks for the help!
<companion_cube> you're welcome!
<hannes> companion_cube: so my (probably silly) view of the world is: if you develop (and compile), you have opam, if you ship you ship the binary... on the build machines I'd as well have opam installed (but as mentioned, I'm silly)
<def`> ah... By deploying in production I thought "a company whichs has control over its own servers"
<companion_cube> yeah, if you only provide a binary
A1977494 has joined #ocaml
<companion_cube> if you provide libraries, files, doc... you probably need to package it properly
<def`> In which case having an opam setup looks reasonable (back in the days in used godi for that, it worked well)
<companion_cube> I don't know, doesn't sound that reasonable to me
<companion_cube> upgrades frequently break, etc.
<def`> -> "has control over its own servers"
<companion_cube> not everyone writes network code
<hannes> hmm? what is the relation now with network code?
<Algebr``> I used to not have opam on the prod machine, did my work local and then deployed but it just became easier to install opam on prod machine.
<def`> Let's stop that now, I misunderstood what you meant by deploying in production :)
<Algebr``> would be amazing if opam have an emacs minor mode, example c-c c-p, opam publish
<Algebr``> c-c c-u opam upgrade all local packages, nice when you're pinned
<companion_cube> hannes: if you write client/server stuff, you can put opam on the server reasonably; if you write unix-like programs, you package the program, or every single user would have to compile it
<companion_cube> Algebr``: amazing for emacs users, perhaps :D
<Algebr``> vim could have its version, etc
<companion_cube> I'd rather keep using a shell, thanks.
<Algebr``> shell_cube
infinity0_ has joined #ocaml
infinity0_ has quit [Changing host]
infinity0_ has joined #ocaml
infinity0 has quit [Ping timeout: 240 seconds]
<companion_cube> btw, does the `system` switch work properly now?
Reshi has quit [Ping timeout: 248 seconds]
infinity0_ has quit [Remote host closed the connection]
infinity0 has joined #ocaml
cgc_ has joined #ocaml
infinity0 has quit [Remote host closed the connection]
<leyyin> does anyone know what "+>" if from https://realworldocaml.org/v1/en/html/command-line-parsing.html, it seems to be an overload to me
<Algebr``> I think from Command
<Algebr``> merlin can tell you
tennix has quit [Ping timeout: 260 seconds]
infinity0 has joined #ocaml
<def`> flux: Ok, I will remember that requirement for a later version of melrin
<def`> merlin*
matason has joined #ocaml
orbifx has quit [Ping timeout: 260 seconds]
sh0t has quit [Ping timeout: 250 seconds]
engil has quit [Quit: WeeChat 1.2]
copy` has joined #ocaml
srax has quit [Ping timeout: 240 seconds]
uucico has quit [Quit: Page closed]
matason has quit [Ping timeout: 260 seconds]
sz0 has joined #ocaml
matason has joined #ocaml
cdidd has quit []
matason has quit [Ping timeout: 252 seconds]
Algebr has quit [Ping timeout: 264 seconds]
Algebr has joined #ocaml
struk|lap has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
cdidd has joined #ocaml
noddy has quit [Ping timeout: 248 seconds]
Sorella has quit [Quit: Connection closed for inactivity]
struk|lap has quit [Ping timeout: 260 seconds]
d0nn1e has quit [Ping timeout: 276 seconds]
d0nn1e has joined #ocaml
A19774941 has joined #ocaml
solrize has joined #ocaml
solrize has joined #ocaml
A1977494 has quit [Ping timeout: 276 seconds]
Simn has quit [Ping timeout: 246 seconds]
Simn has joined #ocaml
dhil has quit [Ping timeout: 244 seconds]
larhat has quit [Quit: Leaving.]
hydan has joined #ocaml
data_hope has joined #ocaml
dsheets has quit [Remote host closed the connection]
dsheets has joined #ocaml
sh0t has joined #ocaml
dsheets has quit [Ping timeout: 260 seconds]
shinnya has joined #ocaml
tmtwd_ has joined #ocaml
Kakadu has joined #ocaml
dwillems has quit [Ping timeout: 260 seconds]
dsheets has joined #ocaml
matason has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
dhil has joined #ocaml
data_hope has quit [Quit: leaving]
ggole has quit [Ping timeout: 246 seconds]
dwillems has joined #ocaml
dwillems has quit [Ping timeout: 276 seconds]
slash^ has quit [Read error: Connection reset by peer]
Simn has quit [Ping timeout: 246 seconds]
struk|lap has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 246 seconds]
<struk|lap> what systems (eg. ubuntu/debian/redhat/masosx?) does the opam continous integration verify? Can I simulate what the build server would do without having to submit a package? like a dry run?
dsheets has joined #ocaml
Simn has joined #ocaml
dsheets has quit [Ping timeout: 268 seconds]
jgjl has joined #ocaml
ygrek has joined #ocaml
struk|lap has quit [Ping timeout: 248 seconds]
hydan has quit [Quit: hydan]
dsheets has joined #ocaml
dwillems has joined #ocaml
struk|lap has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
ygrek has quit [Ping timeout: 244 seconds]
ygrek has joined #ocaml
jgjl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
asghar has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]
dsheets has joined #ocaml
<asghar> how to install sexplib.syntax?
MercurialAlchemi has quit [Ping timeout: 246 seconds]
k1000 has joined #ocaml
dsheets has quit [Ping timeout: 244 seconds]
<struk|lap> asghar: it has campl4 has option dependency. so try opam install camlp4 sexplib
<struk|lap> yeesh sorry for butchering the english language there
dsheets has joined #ocaml
cdidd has quit []
<asghar> thanks
dsheets has quit [Ping timeout: 248 seconds]
<asghar> I checked and I have both installed
struk|lap has quit [Ping timeout: 260 seconds]
dinosaure has joined #ocaml
cdidd has joined #ocaml
cgc_ has quit [Ping timeout: 250 seconds]
Simn has quit [Quit: Leaving]
dwillems has quit [Quit: Leaving]
asghar has quit [Quit: Page closed]
ygrek has quit [Ping timeout: 248 seconds]
Khady_ has joined #ocaml
leyyin has quit [Quit: So Long, and Thanks for All the Fish]
dsheets has joined #ocaml
cdidd has quit []
dsheets has quit [Ping timeout: 246 seconds]
cdidd has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 268 seconds]
tane has quit [Quit: Verlassend]
Major_Biscuit has joined #ocaml
Major_Biscuit has quit [Client Quit]
nicholasf has joined #ocaml
matason has quit [Ping timeout: 264 seconds]
sh0t has quit [Ping timeout: 248 seconds]
noddy has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
arjunguha has joined #ocaml
arjunguha has quit [Client Quit]
mj12` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
mj12` has joined #ocaml
A19774941 has quit [Quit: Leaving.]
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 276 seconds]
chindy has joined #ocaml
madroach has quit [Ping timeout: 244 seconds]
badon has quit [Disconnected by services]
madroach has joined #ocaml
Vintila has joined #ocaml
badon has joined #ocaml
tennix has joined #ocaml