adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.09 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.09/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
amiloradovsky has quit [Ping timeout: 260 seconds]
dhil has quit [Ping timeout: 256 seconds]
ollehar has quit [Ping timeout: 256 seconds]
ollehar has joined #ocaml
unihernandez22 has joined #ocaml
unihernandez22 has quit [Client Quit]
mbuf has joined #ocaml
mbuf has quit [Read error: Connection reset by peer]
mbuf has joined #ocaml
mbuf has quit [Quit: Leaving]
mfp has quit [Ping timeout: 256 seconds]
tobiasBora2 has quit [Ping timeout: 256 seconds]
tobiasBora2 has joined #ocaml
nullcone has quit [Quit: Connection closed for inactivity]
kleisli has quit [Ping timeout: 256 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
jmorris has joined #ocaml
kleisli has joined #ocaml
bartholin has quit [Ping timeout: 272 seconds]
kleisli has quit [Ping timeout: 264 seconds]
vicfred has quit [Quit: Leaving]
eureton has joined #ocaml
jmorris has quit [Quit: Leaving]
mbuf has joined #ocaml
osa1 has joined #ocaml
Serpent7776 has joined #ocaml
eagleflo has quit [Ping timeout: 265 seconds]
oni-on-ion has quit [Ping timeout: 256 seconds]
oni-on-ion has joined #ocaml
oni-on-ion has quit [Ping timeout: 244 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 256 seconds]
decentpenguin has quit [Quit: ZNC crashed or something]
decentpenguin has joined #ocaml
Haudegen has joined #ocaml
nkly has joined #ocaml
banjiewen has quit [Ping timeout: 244 seconds]
banjiewen has joined #ocaml
malc_ has joined #ocaml
decentpenguin has quit [Quit: ZNC crashed or something]
Guest86335 has quit [Ping timeout: 260 seconds]
mbuf has quit [Ping timeout: 240 seconds]
bartholin has joined #ocaml
Guest86335 has joined #ocaml
eureton has quit [Ping timeout: 244 seconds]
eureton has joined #ocaml
jmorris has joined #ocaml
jmorris has quit [Remote host closed the connection]
mfp has joined #ocaml
mbuf has joined #ocaml
eureton has quit [Remote host closed the connection]
jco has joined #ocaml
<jco> Hello! While writing interfaces to expose functions from a module in a library, i get a warning: unused value
<jco> but since it's a library it's not a problem to not use values
<jco> is there something i missed?
<malc_> jco: if the symbol is not explicitly exported you'll get (well deserved) warnin
<malc_> g
<jco> malc_: thanks, how a value gets explicitely exported?
<malc_> jco: "val name : type"
<jco> oh yeah, i did it, i did though
<malc_> eh?
<jco> yeah this function was exported
<malc_> jco: then i'm afraid the information you've provided is incomplete for me to be of any help
<malc_> JavaScript is required for PrivateBin to work. Sorry for the inconvenience.
<jco> ok, which service do you prefer most?
<malc_> jco: in my experience tpaste.us is good
<jco> here it is
<malc_> thanks, looking
<jco> yw :)
<theblatte> jco: do you have a second val update_milestone further down?
<malc_> i'm really confused
<malc_> (not a heavy .mli user though)
<theblatte> this would cause a warning 32 (which is a really poor choice ^^)
<theblatte> (I mean the error message could say that you have multiple declarations instead of "this one is unused")
<jco> malc_: right on!
<jco> that's so bad, one is meant to be exposed while the other is not
<jco> thanks ^^
<jco> malc_: may i ask why don't you use javascript? for security reasons?
<malc_> jco: no, i just got used to not having it available on my ppc mac mini.. and sorta got used to not having it, and being a special a unique snowflake, besides having a machine connected to the power outlet with a wattmetter on the way to the power source taught me that those nifty new things (js and such) are sucking the life out of the mother earth
<malc_> ie no good reason
kleisli has joined #ocaml
<jco> malc_: i see :)
dhil has joined #ocaml
muskan has joined #ocaml
h14u has joined #ocaml
mbuf has quit [Ping timeout: 264 seconds]
kleisli_ has joined #ocaml
kanishka has joined #ocaml
kleisli has quit [Ping timeout: 256 seconds]
kanishka has quit [Client Quit]
<jco> a general question concerning apis: is it okay to have functions with 5 to 7 arguments?
<jco> or does this mean that the api needs to be restructured?
<jco> using records to group information
waleee-cl has joined #ocaml
dckc has quit [Ping timeout: 246 seconds]
dckc has joined #ocaml
mbuf has joined #ocaml
<octachron> It is probably a good idea to try to see if some of the 7 arguments can be logically grouped together.
<octachron> But if all the arguments are orthogonal, having 7 arguments is not unheard of.
<jco> thanks, as a concrete example if we have two hashtables, and a function which operates on these hashtables, would it make sense to group them in a record?
<jco> it looks a bit strange to me to pass a function which operates on these structures as an argument
<jco> but i may be overthinking it a bit
<d_bot> <colin> a tuple is always a sensible choice if your function wouldn't benefit from currying much anyway
<jco> yeah
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 264 seconds]
<companion_cube> or named arguments
muskan has quit [Ping timeout: 245 seconds]
dhil has quit [Ping timeout: 256 seconds]
mbuf has quit [Quit: Leaving]
osa1 has quit [Ping timeout: 264 seconds]
<ollehar> companion_cube: about "functional core, imperative shell" architecture
<ollehar> 23:52 < companion_cube> not caring about what
<companion_cube> hum
<companion_cube> what makes you think that?
<ollehar> companion_cube: google shows nothing.
<ollehar> thus: booo
<companion_cube> maybe it's just not something that people write?
mbuf has joined #ocaml
osa1 has joined #ocaml
dhil has joined #ocaml
mbuf has quit [Quit: Leaving]
nkly has quit [Ping timeout: 244 seconds]
vicfred has joined #ocaml
nullcone has joined #ocaml
malc_ has quit [Ping timeout: 240 seconds]
vicfred has quit [Quit: Leaving]
monad_cat has joined #ocaml
cantstanya has joined #ocaml
amiloradovsky has joined #ocaml
Hrundi_V_Bakshi has joined #ocaml
jco has quit [Quit: WeeChat 2.9]
<ollehar> hm
<ollehar> no side-effect discipline
zolk3ri has joined #ocaml
kleisli_ has quit [Remote host closed the connection]
kleisli_ has joined #ocaml
osa1 has quit [Ping timeout: 240 seconds]
<ollehar> maybe i'll post on /r/ocaml and see what people thinkg
<ollehar> -g
malc_ has joined #ocaml
kleisli_ has quit [Ping timeout: 244 seconds]
Serpent7776 has quit [Quit: leaving]
kleisli_ has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]
dhil has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
amiloradovsky has quit [Ping timeout: 260 seconds]
Hrundi_V_Bakshi has quit [Ping timeout: 240 seconds]
monad_cat has quit [Quit: Connection closed for inactivity]
jmorris has joined #ocaml
Haudegen has quit [Ping timeout: 246 seconds]
mangoicedtea has joined #ocaml
jmorris has quit [Read error: Connection reset by peer]
jmorris has joined #ocaml
zebrag has joined #ocaml
inkbottle has quit [Ping timeout: 264 seconds]
malc_ has quit [Ping timeout: 256 seconds]
vicfred has joined #ocaml