adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.1 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.07/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml | Due to ongoing spam, you must register your nickname to talk on the channel
kvda has joined #ocaml
pierpal has joined #ocaml
pierpal has quit [Ping timeout: 240 seconds]
pierpal has joined #ocaml
orbifx has quit [Ping timeout: 244 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
initiumdoeslinux has joined #ocaml
initiumdoeslinux has quit [Ping timeout: 250 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sonologico has quit [Ping timeout: 268 seconds]
slamzy has joined #ocaml
iovec has quit [Quit: Connection closed for inactivity]
nihilarchy has joined #ocaml
initiumdoeslinux has joined #ocaml
<Leonidas> jane street uses underscores which makes some sense since then the package can be named the same as the findlib package which can be named the same as the top-level module, but it does looks sort of ugly
initiumdoeslinux has quit [Ping timeout: 258 seconds]
zmt00 has quit [Read error: Connection reset by peer]
zmt00 has joined #ocaml
kvda has joined #ocaml
slamzy has quit [Ping timeout: 256 seconds]
slamzy has joined #ocaml
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 252 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
initiumdoeslinux has joined #ocaml
initiumdoeslinux has quit [Ping timeout: 272 seconds]
kvda has joined #ocaml
kvda has quit [Client Quit]
kvda has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nihilarchy has quit [Remote host closed the connection]
kvda has joined #ocaml
slamzy has quit [Ping timeout: 256 seconds]
mfp has quit [Ping timeout: 258 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
Jeanne-Kamikaze has joined #ocaml
gravicappa has joined #ocaml
z__tid has quit [Ping timeout: 252 seconds]
initiumdoeslinux has joined #ocaml
initiumdoeslinux has quit [Ping timeout: 268 seconds]
z__tid has joined #ocaml
sonologico has joined #ocaml
sonologico has quit [Remote host closed the connection]
jao has quit [Ping timeout: 250 seconds]
loli has quit [Ping timeout: 252 seconds]
initiumdoeslinux has joined #ocaml
loli has joined #ocaml
initiumdoeslinux has quit [Ping timeout: 244 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
steenuil has quit [Quit: Leaving]
kvda has joined #ocaml
slamzy has joined #ocaml
Jeanne-Kamikaze has quit [Ping timeout: 240 seconds]
pierpal has quit [Read error: Connection reset by peer]
tizoc has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
iovec has joined #ocaml
themsay has joined #ocaml
initiumdoeslinux has joined #ocaml
initiumdoeslinux has quit [Ping timeout: 244 seconds]
themsay has quit [Ping timeout: 240 seconds]
sagotch has joined #ocaml
jyc has quit [Ping timeout: 264 seconds]
jyc has joined #ocaml
Guest44161 has joined #ocaml
themsay has joined #ocaml
Guest44161 has quit [Remote host closed the connection]
Haudegen has joined #ocaml
slamzy has quit [Remote host closed the connection]
pierpal has joined #ocaml
slamzy has joined #ocaml
themsay has quit [Ping timeout: 244 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wilfredh has joined #ocaml
mfp has joined #ocaml
nikivi has quit [Quit: ZNC is awesome]
nikivi has joined #ocaml
initiumdoeslinux has joined #ocaml
_whitelogger has joined #ocaml
Haudegen has quit [Remote host closed the connection]
sagotch has quit [Ping timeout: 272 seconds]
initiumdoeslinux has joined #ocaml
kaustuv has joined #ocaml
initiumdoeslinux has quit [Ping timeout: 245 seconds]
<kaustuv> Is there a delay between updates to the opam-repository repo and the packages list on opam.ocaml.org/packages?
<kaustuv> Never mind, it seems to have been updated now.
kaustuv has left #ocaml ["ERC (IRC client for Emacs 25.2.2)"]
initiumdoeslinux has joined #ocaml
Guest87s has joined #ocaml
initiumdoeslinux has quit [Ping timeout: 258 seconds]
donryudragoni has joined #ocaml
donryudragoni has quit [Quit: WeeChat 2.3]
donryudragoni has joined #ocaml
donryudragoni has quit [Client Quit]
decentpenguin has joined #ocaml
slamzy has quit [Remote host closed the connection]
sagotch has joined #ocaml
initiumdoeslinux has joined #ocaml
initiumdoeslinux has quit [Read error: No route to host]
initiumdoeslinux has joined #ocaml
Guest87s has left #ocaml [#ocaml]
jao has joined #ocaml
initiumdoeslinux has quit [Ping timeout: 244 seconds]
silver has joined #ocaml
Haudegen has joined #ocaml
spew has joined #ocaml
initiumdoeslinux has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
decentpenguin has quit [Quit: WeeChat 2.3]
decentpenguin has joined #ocaml
jao has quit [Ping timeout: 258 seconds]
zolk3ri has joined #ocaml
Denommus has joined #ocaml
rwmjones_ has joined #ocaml
rwmjones has quit [Ping timeout: 252 seconds]
al-damiri has joined #ocaml
z__tid has quit [Ping timeout: 252 seconds]
FreeBirdLjj has joined #ocaml
decentpenguin has quit [Quit: WeeChat 2.3]
sagotch has quit [Ping timeout: 252 seconds]
sagotch has joined #ocaml
z__tid has joined #ocaml
unyu is now known as idem-pyon-tent
dtornabene has joined #ocaml
z__tid has quit [Read error: Connection reset by peer]
z__tid has joined #ocaml
decentpenguin has joined #ocaml
initiumdoeslinux has quit [Read error: Connection reset by peer]
initiumdoeslinux has joined #ocaml
initiumdoeslinux has quit [Remote host closed the connection]
klntsky has joined #ocaml
initiumdoeslinux has joined #ocaml
initiumdoeslinux has quit [Ping timeout: 250 seconds]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
rwmjones_ is now known as rwmjones
klntsky has quit [Quit: WeeChat 1.6]
maarhart has joined #ocaml
maarhart has quit [Excess Flood]
maarhart has joined #ocaml
klntsky has joined #ocaml
jao has joined #ocaml
Haudegen has quit [Remote host closed the connection]
maarhart has quit [Remote host closed the connection]
jao has quit [Ping timeout: 245 seconds]
mfp has quit [Ping timeout: 252 seconds]
jao has joined #ocaml
initiumdoeslinux has joined #ocaml
mfp has joined #ocaml
emily has joined #ocaml
initiumdoeslinux has quit [Remote host closed the connection]
Haudegen has joined #ocaml
TC01 has quit [Ping timeout: 258 seconds]
klntsky has quit [Remote host closed the connection]
klntsky has joined #ocaml
Serpent7776 has joined #ocaml
sagotch has quit [Quit: Leaving.]
ostera has joined #ocaml
bartholin has joined #ocaml
decentpenguin has quit [Quit: WeeChat 2.3]
idem-pyon-tent is now known as okuu
steenuil has joined #ocaml
decentpenguin has joined #ocaml
pierpal has joined #ocaml
gravicappa has quit [Ping timeout: 246 seconds]
roygbiv has joined #ocaml
<spew> anyone here a dune user?
<companion_cube> sure
<spew> sometimes I like to run ocamlc -i on a file to remind myself what the types are for the functions
<spew> is there any way I can do that with something like dune exec?
<companion_cube> hmm, no idea
<companion_cube> you could do either: `ocamlc -I _build/default/<path to dir> file.mli`
<companion_cube> err, `-i file.ml` I mean
<companion_cube> or ocamlobjinfo on the corresponding .cmi file in _build
<spew> I don't want to dig around in the _build/default/path/to/foo/.foo.objs directories if I can avoid it
<companion_cube> or ask merlin directly, which I think is better
<spew> yeah maybe I should just install merlin
<spew> I've never used it
<companion_cube> you should definitely use it :p
<spew> wow someone wrote an acme interface
<companion_cube> (also, writing .mli files is a good practice, imho)
<spew> companion_cube: yeah but this is for little helper functions
<companion_cube> yeah, in this case I'd really recommend merlin
initiumdoeslinux has joined #ocaml
<companion_cube> it also gives you jump to def, type inference, completion, etc.
<loli> does dune integrate well into emacs or the top level? I've gotten proper auto-completion and compilation, however when I open the repl in emacs, it does not have this information. Also dune utop also likes to fail
<spew> does either of raphael proust hang out in here?
<spew> woops just raphael proust
<spew> I'm excited to meet another person in the plan 9/ocaml intersection
<companion_cube> no idea, really
<companion_cube> loli: if `dune utop` fails (in a library directory), it might be a bug?
<loli> well it gives me a weird error when I try to open any package. If it worked that would be nice as it'd make emacs integration nice
<loli> "Error: The external function `caml_ba_uint8_set64' is not available"
<companion_cube> ahh, that must be some C bindings :/
sagax has quit [Ping timeout: 244 seconds]
<companion_cube> are you sure to be in the right opam env, though?
<loli> oddly enough it's just via dune utop, utop and ocaml works fine
initiumdoeslinux has quit [Ping timeout: 258 seconds]
<companion_cube> if it's in *any* package
<loli> ahh, well it seems to not be any
<loli> utop # #require "bos";; seemed to have worked
<roygbiv> i hope you guys don’t mind a newb question. i have found a number of decent sources for learning ocaml but i can’t find much about the ocaml “ecosystem” i guess, such as docs for the standard library, using a package manager, stuff like that. anyone have suggestions for me?
<companion_cube> https://caml.inria.fr/pub/docs/manual-ocaml/stdlib.html <--- the docs for the stdlib
<loli> it seems mostly core, angstreomm, ppx_jane,
<roygbiv> i mean, examples of the fibonacci sequence in ocaml are obviously useful but eventualy i’d like to do something productive, too
<companion_cube> that's only the janestreet part of the ecosystem
<loli> even angstrom?
<companion_cube> no, not angstrom
<companion_cube> roygbiv: you might want to read Real World OCaml
<companion_cube> (although it uses Core, which is not the case of everybody)
<roygbiv> companion_cube: thank you. seems the janestreet part is pretty important?
<spew> roygbiv: reading the implementation of the standard library is a good place to see better examples
<companion_cube> the situation is complicated :-/
<roygbiv> ok see this is where i begin getting confused heh. trying to keep all this straight
<companion_cube> there are people who use tons of JST stuff (and it's a bit all or nothing)
<companion_cube> and some who don't
<loli> well if dune utop worked properly, would it load the modules in the project? Thus I can load files which rely on other modules?
<companion_cube> loli: in a project, `dune utop src/foobar` works pretty well for me
<companion_cube> it'd load the library located in `src/foobar` as well as its deps
<loli> thanks, just making sure, as if it didn't then I'd need to find a fix for emac's top level as well
<Armael> ah btw at some point I wanted to have "dune utop" in emacs (with utop mode) but I'm not sure its possible currently, unfortunately
<loli> it works fine, Armael when you open the repl it asks for a command
<Armael> yeah, I didn't know how to pass the -emacs option to dune utop
<loli> if you replace ocaml with dune utop it behaves the same
<Armael> which seems required
<loli> is it?
<loli> maybe it has changed now as it worked like the normal command and not like piping emacs into utop
<loli> which is quite annoying
<Armael> if I don't pass the -emacs option it doesn't work
<loli> ohh, with utop mode, I don't use utop mode
<loli> maybe that's why
<Armael> ah yea
<Armael> it's convenient
<loli> I found it a bit annoying, so I just stuck without it
<Armael> so do you run it in eshell or?
<loli> no just normal C-cl
<loli> and I get a normal ocaml top-level
<loli> with completion support and all those nice features
<loli> sadly I have to do M-x merlin-use to get my packages to auto-complete
<loli> but that is a small gripe
<Armael> mmm which command is that? I'm using spacemacs and the keybindings are different
<loli> let me check
<Armael> (for C-cl)
<loli> it should be the same one you use for utop, as it just replaces the key function
<loli> ohh whoops not C-cl that's merlin-locate
<loli> it's C-cb
<loli> tuareg-eval-buffer
<loli> C-cs to start it C-cb does as well, and loads the buffer
<loli> tuareg-run-ocaml for C-cs
<Armael> yea ok it's overridden by utop-mode
<loli> okay sweet, it seems upgrading the compiler version fixed that dune utop error
themsay has joined #ocaml
<loli> Armael: it seems you can do this "dune utop ./ -- -emacs" to get the dune utop you wanted
<Armael> ah oh, nice
<Armael> thanks
<loli> dune utop sadly doesn't load my local files into the REPL as a module... what a shame
decentpenguin has quit [Quit: WeeChat 2.3]
al-damiri has quit [Quit: Connection closed for inactivity]
sagax has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
Denommus has quit [Ping timeout: 250 seconds]
roygbiv has quit [Quit: ™]
Haudegen has quit [Read error: Connection reset by peer]
bartholin has quit [Remote host closed the connection]
sonologico has joined #ocaml
Haudegen has joined #ocaml
orbifx has joined #ocaml
sonologico has quit [Remote host closed the connection]
Serpent7776 has quit [Quit: leaving]
sonologico has joined #ocaml
ygrek has joined #ocaml
zolk3ri has quit [Quit: Lost terminal]
kvda has joined #ocaml
ostera has quit [Ping timeout: 246 seconds]
sonologico has quit [Remote host closed the connection]
sonologico has joined #ocaml
ostera has joined #ocaml
yomimono has quit [Ping timeout: 244 seconds]
ostera has quit [Ping timeout: 246 seconds]
<orbifx> how is everyone?
Haudegen has quit [Remote host closed the connection]
dtornabene has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 246 seconds]
orbifx has quit [Quit: WeeChat 2.3]
okuu has quit [Quit: brb]