adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.08 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.08/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
klntsky has quit [Ping timeout: 260 seconds]
klntsky has joined #ocaml
kvda has joined #ocaml
mfp has quit [Ping timeout: 258 seconds]
lopex has quit [Quit: Connection closed for inactivity]
bitwinery has joined #ocaml
jao has quit [Remote host closed the connection]
spew has quit [Quit: Connection closed for inactivity]
jao has joined #ocaml
jao is now known as Guest64353
Guest64353 has quit [Remote host closed the connection]
jao- has joined #ocaml
jao- is now known as jao
_whitelogger has joined #ocaml
tormen has joined #ocaml
tormen_ has quit [Ping timeout: 258 seconds]
liberiga has joined #ocaml
KeyJoo has quit [Quit: KeyJoo]
_whitelogger has joined #ocaml
_whitelogger has joined #ocaml
gravicappa has joined #ocaml
liberiga has quit [Ping timeout: 260 seconds]
mbuf has joined #ocaml
nullifidian__ has joined #ocaml
nullifidian_ has quit [Ping timeout: 248 seconds]
Vikfret has joined #ocaml
sonologico has quit [Remote host closed the connection]
narimiran has joined #ocaml
zolk3ri has joined #ocaml
Haudegen has joined #ocaml
freyr69 has joined #ocaml
<Nikkel> Does anyone have any examples of "larger" ocsigen/eliom projects? all examples I've seen has been one page things
<Nikkel> But I'd like to see some examples with multiple files, and hopefully a MVC structuring of the source files
<Nikkel> In particular, I have a huge problem with circular dependencies between the view and the controller, since the update actions on the various links in the view are pulled from my Controller module, and my Controller module triggers the view
<sgnb> Nikkel: you can create services and register the handlers later... I think it's what you want to cut the circular dependency
jnavila has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
<Nikkel> sgnb: that's some long files
srax has quit [Ping timeout: 245 seconds]
<Nikkel> sgnb: I really hope that code isn't supposed to be Eliom best practice, no offense
srax has joined #ocaml
<sgnb> Nikkel: what is "long" in your opinion? there are only two >1000 line files... is that what horrifies you?
<sgnb> I don't claim this is Eliom best practice, this is just a non-trivial open-source project that uses it
<sgnb> (honestly, I don't know what Eliom best practive is even though I was one of the first developers)
<Nikkel> sgnb: That, and the fact that most of the functions are nested very deep, instead of utilizing helper functions
<Nikkel> A four levels deep `match` is bad news
<sgnb> I beg to disagree
<sgnb> but that has nothing to do with Eliom
<Nikkel> You're right
keep_learning has quit [Quit: Ping timeout (120 seconds)]
keep_learning has joined #ocaml
kakadu has joined #ocaml
<kakadu> Folks how can I see which command opam 2.0 executes to compile a package? I tried various -vvvvv and many -v but without success
<sgnb> kakadu: directly have a look at the opam file
bitwinery has quit [Quit: Leaving]
<kakadu> sgnb: but in opam 1.0 -verbose give list of all commands that are in opam file and also subcommands being executed and etc.
<kakadu> How should I check that opam installed all files that I expect to be installed?
<kakadu> Also I read that opam watches prefix and collect list of installed files to permorm uninstallation. How can I hceck that it is not mistaken?
<kakadu> -v option seems not be able to list files that opam removes on uninstallation
<kakadu> it seem that --debug is useful
<kakadu> no, not really
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kakadu_ has joined #ocaml
mbuf has quit [Ping timeout: 244 seconds]
mbuf has joined #ocaml
kakadu has quit [Ping timeout: 248 seconds]
mfp has joined #ocaml
ygrek has joined #ocaml
ravenous_ has joined #ocaml
ravenous_ has quit [Ping timeout: 264 seconds]
Vikfret has quit [Quit: Leaving]
kvda has joined #ocaml
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
ravenous_ has joined #ocaml
ravenous_ has quit [Ping timeout: 244 seconds]
<Nikkel> I'm trying to compile a file that looks kinda like this: https://pastebin.com/mzBKcTv9 , of course with some things redacted. However, when I build it, I'm told that filters_form on L26 is unbound, even though it's clearly defined right above
<Nikkel> Controller is a module defined in a [%%client ..] block
ygrek has quit [Ping timeout: 246 seconds]
gareppa has joined #ocaml
nullifidian_ has joined #ocaml
nullifidian__ has quit [Read error: Connection reset by peer]
ggole has joined #ocaml
<Leonidas> rwmjones: is there any plan to have augeas on OPAM?
<Leonidas> I was just made aware of it at ICFP and it seems very much like the tool I was looking for to implement one of my ideas
<Drup> what's augeas ?
<rwmjones> Leonidas: I think pino toscano is maintaining that one now
<Leonidas> rwmjones: fair enough, how to contact him?
<rwmjones> he's pino|work on #libguestfs and various virt channels
<rwmjones> however I don't know if he knows anything about opam either; I guess that's up to the opam develoeprs
<Leonidas> rwmjones: well, it would be good if the tool was actually available to ocaml develeopers :-) I'll talk to him
<rwmjones> I've asked him if he can join this channel
<Leonidas> thanks
<rwmjones> I don't really know what's involved in adding a package to opam; isn't that something that avsm or an opam developer can do?
<Drup> no, that's not their job. Users submit packages.
<Drup> (usually, the main dev of the package)
<rwmjones> let's see what pino says
pino|work has joined #ocaml
<pino|work> hi
<pino|work> rwmjones told me there was someone with a question for me
Haudegen has quit [Quit: Bin weg.]
<sgnb> Leonidas: why would augeas be on OPAM?
<sgnb> it doesn't seem OCaml-related
<pino|work> augeas is a C library with a couple of command line tools
<pino|work> there are few bindings for it: eg python, ruby
<sgnb> ah... there are OCaml bindings... sorry for the noise
<pino|work> there are also ocaml bindings written by rwmjones: http://git.annexia.org/?p=ocaml-augeas.git;a=summary
<sgnb> pino|work: the question was "is there any plan to have augeas on OPAM?"
<pino|work> i guess you mean ocaml-augeas, not augeas itself?
<sgnb> Leonidas: ^^^
<pino|work> in any case, ocaml-augeas would definitely need a release
<sgnb> rwmjones: what about ocaml-libvirt and ocaml 4.08? At the moment, I use this patch: https://salsa.debian.org/ocaml-team/ocaml-libvirt/blob/debian/sid/debian/patches/Fix-compilation-with-safe-string.patch
nullifidian__ has joined #ocaml
nullifidian_ has quit [Read error: Connection reset by peer]
<pino|work> (that's the upstream commit)
<pino|work> also ocaml-libvirt would definitely need a release...
<sgnb> yes indeed
<pino|work> sgnb: ah, i see who you are! thanks for working on ocaml in debian :)
* pino|work is pino@debian
KeyJoo has joined #ocaml
<rwmjones> sgnb: oh hi stephane
<rwmjones> so we kind of need releases for both of these, and also for me to update the websites to point to the actual hosting place
<sgnb> virt-top also AFAICT
<rwmjones> ok I got a meeting again now, but after that I'll have a look at this
spew has joined #ocaml
<rwmjones> sgnb: do you have any virt-top specific debian patches?
<sgnb> rwmjones: not yet
<rwmjones> sgnb: actually I see you've got 2?
<sgnb> ah right... they are not mine, and even with those virt-top FTBFS with OCaml 4.08.0 with a bytes/string error
<sgnb> I meant: I haven't yet fixed virt-top to work with OCaml 4.08.0
ygrek has joined #ocaml
FreeBirdLjj has joined #ocaml
<rwmjones> sgnb: it's building for me; I'm going to push a new version which will work, soon
FreeBirdLjj has quit [Ping timeout: 268 seconds]
Haudegen has joined #ocaml
<rwmjones> sgnb: ok for virt-top hopefully 1.0.9 should work: https://people.redhat.com/rjones/virt-top/files/
<rwmjones> pino|work: latest augeas repo is http://git.annexia.org/?p=ocaml-augeas.git;a=summary right?
<rwmjones> I'll do a release of it now unless you have patches
lopex has joined #ocaml
<pino|work> rwmjones: yes, and i have no patches for ocaml-augeas
<rwmjones> pino|work: and same question for ocaml-libvirt, this is the right git repo? http://git.annexia.org/?p=ocaml-libvirt.git;a=summary
<rwmjones> I thought we moved that to libvirt.org ..
<rwmjones> oh we did, I can't read
<rwmjones> sgnb: ocaml-augeas should be OK now: https://people.redhat.com/~rjones/augeas/files/
<rwmjones> pino|work: so re ocaml-libvirt, I'm rather unclear how to make a release of this one
FreeBirdLjj has joined #ocaml
KeyJoo has quit [Ping timeout: 258 seconds]
zolk3ri has quit [Remote host closed the connection]
lizzin has joined #ocaml
<lizzin> how do you pass `*` to a labeled arg?
<lizzin> as in, List.reduce num_list ~f:(*)
<lizzin> it seems as if the '(*' is being interpreted as the opening of comment
<Fardale_> ( * )
<Fardale_> lizzin: ^
q9929t has joined #ocaml
q9929t1 has joined #ocaml
q9929t has quit [Ping timeout: 258 seconds]
q9929t1 is now known as q9929t
q9929t has quit [Client Quit]
<pino|work> rwmjones: hm what do you mean?
jao has quit [Ping timeout: 245 seconds]
<rwmjones> pino|work: I mean how to actually upload files to libvirt.org file storage
<pino|work> rwmjones: ah... i guess you need to ask to danpb and/or DV
<companion_cube> oh, rwmjones himself, o/
rosterok has joined #ocaml
<lizzin> Fardale_: ty
<lizzin> Fardale_: what should i google to learn more about this issue? is it as simple as '(*' being recognized as the opening of a comment block. im only about half way through rwo, but i dont recall it being discussed
<Fardale_> I don't know, I learn the trick here also
<Armael> lizzin: yes
<Armael> also the compiler will give you a warning and hint that you should use ( * ) instead
FreeBirdLjj has quit [Remote host closed the connection]
vyorkin has joined #ocaml
<lizzin> Fardale_: oh ok
<lizzin> Armael: yea, i had not gotten that far yet. still just testing snippets in utop. its good to know that the compiler has a different set of warnings/suggestions though
<Armael> yeah in utop it will just wait for more input
<Armael> so you don't get the warning
gahr has quit [Quit: leaving]
Haudegen has quit [Quit: Bin weg.]
mbuf has quit [Quit: Leaving]
jao has joined #ocaml
pino|work has quit [Quit: brb]
pino|work has joined #ocaml
freyr69 has quit [Remote host closed the connection]
gahr has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 248 seconds]
zapashcanon has quit [Quit: Cheers !]
zapashcanon has joined #ocaml
zapashcanon has joined #ocaml
zapashcanon has quit [Changing host]
ygrek has quit [Remote host closed the connection]
gareppa has quit [Quit: Leaving]
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
Serpent7776 has joined #ocaml
ziyourenxiang has quit [Ping timeout: 272 seconds]
AtumT has joined #ocaml
Haudegen has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
jnavila has joined #ocaml
<lizzin> Armael: yep, that was my experience
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 272 seconds]
AtumT has quit [Quit: AtumT]
jnavila has quit [Ping timeout: 246 seconds]
ravenousmoose has joined #ocaml
dmiles has quit [Read error: Connection reset by peer]
jnavila has joined #ocaml
dmiles has joined #ocaml
KeyJoo has joined #ocaml
KeyJoo has quit [Max SendQ exceeded]
KeyJoo has joined #ocaml
jnavila has quit [Ping timeout: 252 seconds]
lizzin has quit [Ping timeout: 272 seconds]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vyorkin has quit [Read error: Connection reset by peer]
vyorkin has joined #ocaml
lizzin has joined #ocaml
lizzin is now known as Guest56755
ggole has quit [Quit: Leaving]
slice has quit [Ping timeout: 252 seconds]
slice has joined #ocaml
jao has quit [Ping timeout: 258 seconds]
ravenousmoose has joined #ocaml
narimiran has quit [Ping timeout: 246 seconds]
vyorkin has quit [Read error: Connection reset by peer]
vyorkin has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
KeyJoo has quit [Quit: KeyJoo]
jao has joined #ocaml
rwmjones has quit [Quit: ZNC - 1.6.0 - http://znc.in]
rwmjones has joined #ocaml
jnavila has joined #ocaml
kakadu has joined #ocaml
vyorkin has quit [Remote host closed the connection]
vyorkin has joined #ocaml
iovec has joined #ocaml
gravicappa has quit [Ping timeout: 268 seconds]
Serpent7776 has quit [Quit: leaving]
vyorkin has quit [Ping timeout: 245 seconds]
kakadu has quit [Remote host closed the connection]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Hrundi_V_Bakshi has joined #ocaml
Birdface has joined #ocaml
jnavila has quit [Ping timeout: 245 seconds]
jao has quit [Remote host closed the connection]
<Leonidas> sgnb: yes, exactly, the bindings to augeas would be nice to have on OPAM since that would allow ocaml programmers to easily depend on the functionality of augeas without having to call it as a shell command.
<Leonidas> pino|work: yes, it was me asking. If you want to I can contribute an opam file, but I can't really submit it to opam without a release. Not sure how Fedora packages it.
<Leonidas> companion_cube: are you in Berlin these days?
iovec has quit [Quit: Connection closed for inactivity]
jao has joined #ocaml
jao is now known as Guest21804
Guest21804 has quit [Remote host closed the connection]
jao- has joined #ocaml
<companion_cube> nope, I don't want to travel for a little while
<companion_cube> you might meet my boss, Grant Passmore, maybe.
_whitelogger has joined #ocaml
_whitelogger_ has joined #ocaml
_whitelogger_ has joined #ocaml
_whitelogger__ has joined #ocaml
_whitelogger__ has joined #ocaml
_whitelogger__ has joined #ocaml
_whitelogger___ has joined #ocaml
_whitelogger___ has joined #ocaml
_whitelogger___ has joined #ocaml
_whitelogger___ has joined #ocaml
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger has joined #ocaml
rosterok has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #ocaml