<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]