ristos has quit [Quit: Connection closed for inactivity]
pierpa has joined #ocaml
eh_eff has quit [Ping timeout: 252 seconds]
<dh_work>
oh, while I'm on this channel;
<dh_work>
what's the recommended most standard way to handle unicode text/strings?
sam____ has quit [Ping timeout: 260 seconds]
Denommus has quit [Quit: going home]
jao has quit [Ping timeout: 240 seconds]
mfp__ has quit [Ping timeout: 246 seconds]
Algebr` has quit [Ping timeout: 240 seconds]
enterprisey has quit [Remote host closed the connection]
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 240 seconds]
philtor has joined #ocaml
rostero has joined #ocaml
AceJohnny has quit [Read error: Connection reset by peer]
enterprisey has joined #ocaml
rpip has quit [Remote host closed the connection]
TarVanimelde has joined #ocaml
eh_eff has joined #ocaml
eh_eff has quit [Ping timeout: 240 seconds]
Orion3k has quit [Ping timeout: 240 seconds]
sam_ has joined #ocaml
sgnb` has joined #ocaml
sgnb has quit [Ping timeout: 240 seconds]
sam_ has quit [Ping timeout: 252 seconds]
Orion3k has joined #ocaml
Orion3k has quit [Ping timeout: 260 seconds]
Orion3k has joined #ocaml
kerrhau has joined #ocaml
<kerrhau>
what are some things I can make in ocaml to practice my skills?
<kerrhau>
I was thinking of a chess engine but I'm not too good at ocaml yet
pierpa has quit [Quit: Page closed]
samrat has joined #ocaml
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 248 seconds]
zv has quit [Ping timeout: 246 seconds]
zv has joined #ocaml
BitPuffin|osx has quit [Ping timeout: 252 seconds]
rostero has quit [Quit: Connection closed for inactivity]
maker1 has quit [Quit: = ""]
kerrhau has quit [Ping timeout: 264 seconds]
johnelse_ has joined #ocaml
johnelse has quit [Ping timeout: 248 seconds]
awal has quit [Ping timeout: 248 seconds]
sigjuice_ has quit [Ping timeout: 248 seconds]
sigjuice has joined #ocaml
awal has joined #ocaml
awal is now known as Guest39561
multiocracy[m] has quit [Ping timeout: 240 seconds]
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 264 seconds]
govg has joined #ocaml
multiocracy[m] has joined #ocaml
cbot has quit [Quit: Leaving]
MercurialAlchemi has joined #ocaml
FreeBirdLjj has joined #ocaml
zlsyx has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
mbuf has joined #ocaml
sam_ has joined #ocaml
Mercuria1Alchemi has joined #ocaml
Guest39561 is now known as awal
MercurialAlchemi has quit [Ping timeout: 240 seconds]
sam_ has quit [Ping timeout: 252 seconds]
TobiasBales has joined #ocaml
zlsyx has quit [Quit: Leaving...]
TheLemonMan has joined #ocaml
eh_eff has joined #ocaml
eh_eff has quit [Ping timeout: 240 seconds]
sam_ has joined #ocaml
jbrown has quit [Quit: Leaving]
sam_ has quit [Ping timeout: 240 seconds]
steve_gh has quit [Ping timeout: 260 seconds]
enterprisey has quit [Ping timeout: 248 seconds]
keep_learning has joined #ocaml
Simn has joined #ocaml
danieli has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #ocaml
TarVanimelde has quit [Quit: TarVanimelde]
BitPuffin|osx has joined #ocaml
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 246 seconds]
Orion3k has quit [Ping timeout: 240 seconds]
barcabuona has joined #ocaml
igstan has joined #ocaml
igstan has quit [Client Quit]
argent_smith has joined #ocaml
samrat has quit [Ping timeout: 240 seconds]
barcabuona has quit [Ping timeout: 248 seconds]
samrat has joined #ocaml
Orion3k has joined #ocaml
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 240 seconds]
zv has quit [Ping timeout: 252 seconds]
johnelse_ has quit [Read error: Connection reset by peer]
zv has joined #ocaml
johnelse has joined #ocaml
mfp__ has joined #ocaml
<companion_cube>
a checkers game? :p
<companion_cube>
is there a ppx for *very* efficient logging, able to totally remove logging statements if some flag is passed?
nahra has quit [Remote host closed the connection]
danieli has joined #ocaml
<theblatte>
companion_cube: a compile-time flag?
<theblatte>
I think OCaml will simplify that out of existence
<theblatte>
otherwise if it's a runtime flag, wouldn't that require generating 2^n copies of the code of your whole program? or
<theblatte>
-or
sam_ has joined #ocaml
<companion_cube>
hmmm :/
<companion_cube>
well it should probably be a compile-time flag
<theblatte>
if it were me, I would check if logging has a measurable impact on perf
<theblatte>
branch prediction works pretty well
sam_ has quit [Ping timeout: 240 seconds]
stux|RC-only has quit [Ping timeout: 260 seconds]
<theblatte>
my common problem with logging is that it's hard to make a good interface that won't do useless computations when there's nothing to print, eg Logging.log "foo %a" pp_stuff (get_stuff ()) calls "get_stuff" even if "log" decides it doesn't want to print the message
stux|RC-only has joined #ocaml
<theblatte>
I guess one could write log "foo %a" (pp_lazy pp_stuff) (lazy (get_stuff ()))
<theblatte>
sorry for derailing the discussion :p
kakadu has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
samrat has quit [Ping timeout: 252 seconds]
AltGr has joined #ocaml
steve_gh has joined #ocaml
andreas__ has quit [Quit: Connection closed for inactivity]
<steve_gh>
Hi. Is it possible to set up sharing constraints between modules, to hint to the compiler that module X.Z = Y.Z
ziyourenxiang has joined #ocaml
<theblatte>
steve_gh: in the signatures of X and Z you can specify "with Z = TheZYouWant"
johnelse has quit [Read error: No route to host]
johnelse has joined #ocaml
eh_eff has joined #ocaml
ShalokShalom_ has joined #ocaml
steve_gh has quit [Ping timeout: 260 seconds]
ShalokShalom has quit [Ping timeout: 240 seconds]
johnelse_ has joined #ocaml
eh_eff has quit [Ping timeout: 248 seconds]
KeyJoo has joined #ocaml
johnelse has quit [Ping timeout: 264 seconds]
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 248 seconds]
johnelse has joined #ocaml
johnelse_ has quit [Ping timeout: 248 seconds]
AltGr has left #ocaml [#ocaml]
igstan has joined #ocaml
igstan has quit [Client Quit]
AltGr has joined #ocaml
sam_ has joined #ocaml
AltGr has left #ocaml [#ocaml]
superherointj has joined #ocaml
AltGr has joined #ocaml
andreas__ has joined #ocaml
zv has quit [Ping timeout: 246 seconds]
SpiceGuid has joined #ocaml
AltGr has left #ocaml [#ocaml]
zv has joined #ocaml
AltGr has joined #ocaml
xuanrui has joined #ocaml
sz0 has joined #ocaml
AltGr has left #ocaml [#ocaml]
mbuf has quit [Quit: Leaving]
<companion_cube>
if you mean the trick of `log (fun k->k "foo bar %d" 42)`, I use it too
<companion_cube>
I would like 0 overhead in some cases though
<companion_cube>
literally 0
<Drup>
companion_cube: that's my point. If you use flambda and that the logging is statically disable, flambda is able to completely remove it
<Drup>
disabled*
<companion_cube>
ah, right, I could do it I guess, with a top boolean
<kakadu>
ShalokShalom: I initially I planned about LGPL with possibility of dual license if somebody will really need it
<ShalokShalom>
I see
<ShalokShalom>
double license sounds nice
<kakadu>
ShalokShalom: Yeah, I have seen the thread but it seems that no fix is found
copy_ has quit [Quit: Connection closed for inactivity]
<ShalokShalom>
Wikipedia is updated
MercurialAlchemi has quit [Ping timeout: 248 seconds]
sam_ has joined #ocaml
eh_eff has joined #ocaml
sam_ has quit [Ping timeout: 240 seconds]
andreas__ has joined #ocaml
<zozozo>
Bluddy[m]: well, modular implicits popped up here and there in talks
kerrhau has joined #ocaml
Simn has quit [Read error: Connection reset by peer]
jbrown has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
<companion_cube>
is there an implementation ready?
kolko has quit [Ping timeout: 248 seconds]
infinity0_ has joined #ocaml
infinity0_ has quit [Changing host]
infinity0_ has joined #ocaml
infinity0 is now known as Guest46676
infinity0_ is now known as infinity0
Guest46676 has quit [Killed (tolkien.freenode.net (Nickname regained by services))]
cbot has joined #ocaml
<zozozo>
Doesn't seem like it
kakadu has quit [Remote host closed the connection]
<kerrhau>
hey, im new to ocaml, and im looking for some things I could write to improve my skill, I was thinking chess engine, but i dont know enough about ocaml (or even chess programming) to start
sam_ has joined #ocaml
<Bluddy[m]>
zozozo: ?
<Bluddy[m]>
isn't there a repo based on 4.02?
sam_ has quit [Ping timeout: 240 seconds]
Soni has quit [Ping timeout: 240 seconds]
Soni has joined #ocaml
<Bluddy[m]>
kerrhau: how about just doing a textual interface for a chess game? much easier than developing chess AI (which is very hard)
sam_ has joined #ocaml
Exagone313 has quit [Quit: see ya!]
jbrown has quit [Quit: Leaving]
pierpa has joined #ocaml
Exagone313 has joined #ocaml
sh0t has quit [Remote host closed the connection]
<zozozo>
Bluddy[m]: there is a repo, but if I understand correctly, it's not ready to be used in the wild, and there are still some bugs
<Bluddy[m]>
i think they haven't proven the theory yet. that's why i was really surprised not to see it this year
mengu has joined #ocaml
mrvn has quit [Ping timeout: 246 seconds]
mrvn has joined #ocaml
peterpp has quit [Ping timeout: 260 seconds]
<kerrhau>
Bluddy[m]: like something using curses?
enterprisey has quit [Read error: Connection reset by peer]
ayxih has quit [Quit: Leaving]
<Bluddy[m]>
kerrhau: there are libraries for this stuff, but you could start by making it simple text based and just reprinting the board and taking input
ziyourenxiang has quit [Ping timeout: 240 seconds]
flux has quit [Ping timeout: 246 seconds]
<kerrhau>
Bluddy[m]: idk, my knowledge of ocaml barely extends to records, anything more... simple?