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
iitalics has quit [Quit: /thread]
infinity0 has joined #ocaml
infinity0 is now known as Guest47147
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
sepp2k has quit [Ping timeout: 240 seconds]
infinity0 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]
Merv_ 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]
infinity0 has joined #ocaml
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 255 seconds]
ryanartecona has quit [Quit: ryanartecona]
Merv_ has quit [Ping timeout: 258 seconds]
copy` has quit [Quit: Connection closed for inactivity]
jbrown has quit [Quit: Leaving]
jlam__ has quit [Read error: Connection reset by peer]
jlam_ has joined #ocaml
silver has quit [Read error: Connection reset by peer]
dtornabene has joined #ocaml
spew has joined #ocaml
manizzle has joined #ocaml
Merv_ has joined #ocaml
Algebr has quit [Ping timeout: 255 seconds]
KeyJoo has quit [Ping timeout: 258 seconds]
spew has quit [Ping timeout: 246 seconds]
daniel_ has joined #ocaml
dtornabene has quit [Read error: Connection reset by peer]
mfp__ has quit [Ping timeout: 260 seconds]
daniel_ has quit [Ping timeout: 240 seconds]
dtornabene has joined #ocaml
dtornabene has quit [Read error: Connection reset by peer]
ryanartecona has joined #ocaml
ryanartecona has quit [Client Quit]
Merv_ has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ocaml
madroach has quit [Ping timeout: 260 seconds]
madroach has joined #ocaml
ygrek has quit [Ping timeout: 246 seconds]
jao has quit [Ping timeout: 258 seconds]
justicefries has joined #ocaml
pierpa has joined #ocaml
Merv_ has joined #ocaml
spew has joined #ocaml
spew has quit [Quit: foobar]
ryanartecona has joined #ocaml
ryanartecona has quit [Client Quit]
ryanartecona has joined #ocaml
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 255 seconds]
ryanartecona has quit [Quit: ryanartecona]
Merv_ has quit [Ping timeout: 240 seconds]
pierpa has quit [Quit: Page closed]
maarhart has joined #ocaml
maarhart has quit [Ping timeout: 246 seconds]
gonz_ has quit [Ping timeout: 268 seconds]
MercurialAlchemi has joined #ocaml
gonz_ has joined #ocaml
Merv_ has joined #ocaml
drtop is now known as threshold
barcabouna has quit [Ping timeout: 258 seconds]
Merv_ has quit [Ping timeout: 268 seconds]
barcabouna has joined #ocaml
moei has quit [Quit: Leaving...]
olibjerd has joined #ocaml
slash^ has joined #ocaml
KeyJoo has joined #ocaml
_whitelogger has joined #ocaml
samrat has joined #ocaml
Merv_ has joined #ocaml
fds has quit [Ping timeout: 246 seconds]
FreeBirdLjj has joined #ocaml
fds_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 246 seconds]
mengu has quit [Remote host closed the connection]
KeyJoo has quit [Ping timeout: 240 seconds]
Merv_ has quit [Ping timeout: 268 seconds]
_whitelogger has joined #ocaml
Simn has joined #ocaml
enterprisey has joined #ocaml
mengu has joined #ocaml
agravier has joined #ocaml
mengu has quit [Remote host closed the connection]
jlam_ has joined #ocaml
jlam__ has quit [Ping timeout: 260 seconds]
Merv_ has joined #ocaml
SvenDowideit has joined #ocaml
Guest28374 has quit [Quit: cya l8r alig8r]
SvenDowideit has left #ocaml ["Leaving"]
enterprisey has quit [Remote host closed the connection]
govg has quit [Ping timeout: 240 seconds]
Merv_ has quit [Ping timeout: 240 seconds]
govg has joined #ocaml
fraggle_ has quit [Read error: Connection reset by peer]
moei has joined #ocaml
dtornabene has joined #ocaml
daniel_ has joined #ocaml
govg has quit [Ping timeout: 260 seconds]
govg has joined #ocaml
mengu has joined #ocaml
daniel_ has quit [Quit: Leaving]
fraggle_ has joined #ocaml
mengu has quit [Ping timeout: 255 seconds]
cranmax has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 240 seconds]
samrat has quit [Ping timeout: 268 seconds]
govg has quit [Ping timeout: 240 seconds]
govg has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
govg has joined #ocaml
samrat has joined #ocaml
zpe has joined #ocaml
Merv_ has joined #ocaml
mfp__ has joined #ocaml
TheLemonMan has joined #ocaml
mengu has joined #ocaml
argent_smith has joined #ocaml
mengu has quit [Ping timeout: 260 seconds]
fraggle-boate has joined #ocaml
Merv_ has quit [Ping timeout: 240 seconds]
Algebr has joined #ocaml
zpe has quit [Remote host closed the connection]
rwmjones has quit [Ping timeout: 255 seconds]
Muzer has quit [Ping timeout: 260 seconds]
samrat has quit [Ping timeout: 260 seconds]
andreas_ has quit [Quit: Connection closed for inactivity]
raphaelss has joined #ocaml
Merv_ has joined #ocaml
rwmjones has joined #ocaml
Merv_ has quit [Ping timeout: 240 seconds]
mrvn_ has joined #ocaml
rpip has quit [Remote host closed the connection]
Muzer has joined #ocaml
raphaelss has quit [Ping timeout: 240 seconds]
\h has joined #ocaml
demonimin_ is now known as demonimin
dtornabene has quit [Ping timeout: 240 seconds]
barcabouna has quit [Ping timeout: 258 seconds]
raphaelss has joined #ocaml
barcabouna has joined #ocaml
mengu has joined #ocaml
raphaelss has quit [Ping timeout: 246 seconds]
mengu has quit [Ping timeout: 255 seconds]
raphaelss has joined #ocaml
ziyourenxiang has quit [Quit: Leaving]
ziyourenxiang has joined #ocaml
Merv_ has joined #ocaml
rightfold has joined #ocaml
<rightfold> Hi, can I read a record field without opening the module the record type is defined in?
<octachron> you can use either "r.Module.Path.To.field" or record disambiguation "let (r:Module.Path.To.record_type) = r.field"
<rightfold> Ah, thanks
<rightfold> cool
selite has joined #ocaml
<selite> Can someone help me debug my simple OOP code? https://pastebin.com/bTgZheDJ I get error.
Merv_ has quit [Ping timeout: 260 seconds]
<zozozo> selite: sure
<zozozo> on line 54 you give a single string argument "Angeline jolie" to the class constructor, where it expectw two (presumable "Angelina" and "Jolie"), so since it is "missing" an argument, the type of mother is 'string -> femal' instead of being 'female 'like you probably expected
<selite> zozozo: Ok, fixed. https://pastebin.com/ZEnJJCdr Now it only prints name and surname of father and mother. It's like it skips the List.iter .. to print the children in the list.
<zozozo> selite: you forgot to call the 'addChild' method to add the children to the family
<selite> Ok, works great. Thanks a ton.
barcabouna has quit [Ping timeout: 255 seconds]
raphaelss has quit [Ping timeout: 240 seconds]
<zozozo> sure, anytime
barcabouna has joined #ocaml
mengu has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
raphaelss has joined #ocaml
raphaelss has quit [Ping timeout: 255 seconds]
raphaelss has joined #ocaml
dhil has joined #ocaml
silver has joined #ocaml
samrat has joined #ocaml
Merv_ has joined #ocaml
MercurialAlchemi has joined #ocaml
jaffa has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
jaffa has quit [Client Quit]
Merv_ has quit [Ping timeout: 240 seconds]
jlam__ has joined #ocaml
samrat has quit [Ping timeout: 240 seconds]
jlam_ has quit [Ping timeout: 255 seconds]
jlam1 has joined #ocaml
jlam__ has quit [Ping timeout: 260 seconds]
andreas_ has joined #ocaml
selite has quit [Quit: Page closed]
<shon> Hi! Has anyone gotten decent autocomplete working in Utop in Emacs?
<shon> By which I mean hooking in company-mode or helm to handle the selection of auto-complete alternatives.
<shon> Much googling hasn't given me any hints for a solution.
<Drup> I'm not sure anyone tried that
mengu has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
copy` has joined #ocaml
<shon> I wonder if this indicates I am using Utop more heavily than a competent OCamler should...
TheLemonMan has joined #ocaml
Merv_ has joined #ocaml
<Drup> To each it's own style. The problem is that utop's integration is not good enough once you have projects of a certain size.
<companion_cube> the question on discourse about loading doc in utop was interesting, too
<reynir> companion_cube: do you have a link?
samrat has joined #ocaml
<Drup> reynir: well, the answer was a link to your thing :D
<reynir> :)
<reynir> It's currently broken in utop 2.0.1 due to this https://github.com/diml/utop/issues/213
<reynir> (also, I think I should publish it now)
<Drup> I wonder if it wouldn't be more convenient to get it into ocp-index directly
<reynir> yes, I agree
<reynir> I mentioned it as a side remark in an issue with ocp-index, but I guess a new issue would be more appropriate
<Drup> Additionally, add the injection of the #require into opam-user-setup
<reynir> Yea, I've considered that, but on the other hand the #require slows down starting utop a lot (almost 1 second on my machine) :/
<Drup> ah, yes, that's a problem with ocp-index
<Drup> I wonder if leveraging odig wouldn't be a better solution, not sure if the internal architecture is appropriate
<Drup> this way, you could both show the documentation and give a link to the local HTML rendering
<reynir> That would be cool
agravier has quit [Quit: agravier]
agravier has joined #ocaml
mengu has joined #ocaml
threshold has quit [Ping timeout: 246 seconds]
shon has quit [Ping timeout: 260 seconds]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
jlam_ has joined #ocaml
jlam1 has quit [Ping timeout: 260 seconds]
shon has joined #ocaml
threshold has joined #ocaml
<shon> Drup: I've wonderd if the repl habit isn't somehow in opposition to well-specified, type-guided, development...
<shon> Drup: Could you elaborate a bit on the problems with utop's integration with projects of a certain size? Is it more than the problem of keeping the .ocamlinit updated?
<Drup> well, consider you are working on module Foo. Ideally, you would like to automatically load all files before Foo in the dependency order in the REPL. You would also like to reload modules when they are recompiled. You also ocasionally would like to break abstraction boundaries. We don't really have stuff like that right now
<shon> Nice, ocp-index-top seems like a great edition to the ecosystem.
<Drup> It does work extremely well if you have only one file, though
<shon> Drup: I've been using solvuu-build on my current toy project, and it's doing a great job of managing the Utop environemnt so far.
<Drup> ah, maybe solvuu does a bit of magic
<shon> No problems integrating a dozen files and they dependencies into the repl (once I figured out the configuraiton).
<shon> I thin it just generates the .ocamlinit as you add new dependencies.
<shon> But I grant it took me some time to hit upon that, and there are other complexities to the build system and specifying it that are quite burdensome.
<shon> Having one relatively obscure tool that *mostly* provides a work-around (provided one has time to learn a relativley esoteric system) isn't really a solution the problem you're describing...
<shon> tbh, Tuareg mode provides me most everything I need: nice auto-complete integration, inline documentation and source lookup, live type checking (within limits).
tane has joined #ocaml
<shon> I only drop into the repl to test out some behavior now and then... and this is probably better managed with tests.
<shon> Thanks for the info though. It provides some good tips on areas I might be able to help build out at some point. And that's exciting :)
ryanartecona has joined #ocaml
agravier has quit [Quit: agravier]
dhil has quit [Ping timeout: 258 seconds]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
samrat has quit [Ping timeout: 255 seconds]
samrat has joined #ocaml
andreas_ has quit [Quit: Connection closed for inactivity]
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 260 seconds]
ziyourenxiang has quit [Ping timeout: 255 seconds]
agravier has joined #ocaml
cschneid has quit [Ping timeout: 258 seconds]
cschneid has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
MercurialAlchemi has joined #ocaml
slack2 has joined #ocaml
slack1 has quit [Remote host closed the connection]
slack2 has quit [Remote host closed the connection]
slack3 has joined #ocaml
madroach has quit [Remote host closed the connection]
jlam__ has quit [Ping timeout: 240 seconds]
madroach has joined #ocaml
agravier has quit [Quit: agravier]
samrat has quit [Ping timeout: 255 seconds]
spew has joined #ocaml
ryanartecona has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
madroach has quit [*.net *.split]
jyc has quit [*.net *.split]
adi_____ has quit [*.net *.split]
justicefries has quit [*.net *.split]
bronsen has quit [*.net *.split]
rpcope has quit [*.net *.split]
trevorriles has quit [*.net *.split]
fluter has quit [*.net *.split]
JSharp has quit [*.net *.split]
bigs has quit [*.net *.split]
lynn has quit [*.net *.split]
l1x has quit [*.net *.split]
lobo has quit [*.net *.split]
Armael has quit [*.net *.split]
trevorriles has joined #ocaml
madroach has joined #ocaml
Armael has joined #ocaml
rpcope has joined #ocaml
lobo has joined #ocaml
adi_____ has joined #ocaml
lynn has joined #ocaml
justicefries has joined #ocaml
jyc has joined #ocaml
JSharp has joined #ocaml
bigs has joined #ocaml
fluter has joined #ocaml
l1x has joined #ocaml
cranmax_ has joined #ocaml
cranmax has quit []
cranmax_ is now known as cranmax
cranmax has quit [Client Quit]
cranmax has joined #ocaml
spew has quit [Quit: foobar]
spew has joined #ocaml
spew has quit [Client Quit]
kakadu has joined #ocaml
jao has joined #ocaml
KeyJoo has joined #ocaml
jao has quit [Ping timeout: 260 seconds]
bronsen has joined #ocaml
pierpa has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
hashpuppy has joined #ocaml
Sim_n has joined #ocaml
Simn has quit [Ping timeout: 240 seconds]
Algebr has quit [Ping timeout: 240 seconds]
copy` is now known as copy_
MercurialAlchemi has quit [Ping timeout: 260 seconds]
tane has quit [Quit: Leaving]
olibjerd has quit [Quit: olibjerd]
pierpa has quit [Quit: Page closed]
Xadnem has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
<kakadu> octachron: Is your cycle demo in the README correct? I think in d.ml you should open module A. https://github.com/Octachron/codept/blob/master/README.md
<octachron> kakadu, you are right of course, thanks!
<octachron> kakadu, fixed
manizzle has quit [Ping timeout: 258 seconds]
ygrek has joined #ocaml
manizzle has joined #ocaml
manizzle has quit [Max SendQ exceeded]
manizzle has joined #ocaml
manizzle has quit [Max SendQ exceeded]
manizzle has joined #ocaml
manizzle has quit [Max SendQ exceeded]
manizzle has joined #ocaml
Algebr has joined #ocaml
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
Algebr has quit [Ping timeout: 258 seconds]
_whitelogger has joined #ocaml
argent_smith has quit [Quit: Leaving.]
mengu has quit [Read error: Connection reset by peer]
Algebr has joined #ocaml
mengu has joined #ocaml
Algebr has quit [Ping timeout: 268 seconds]
Sim_n has quit [Read error: Connection reset by peer]
kakadu has quit [Remote host closed the connection]
Xadnem has quit [Quit: leaving]