malina has quit [Remote host closed the connection]
ziyourenxiang has joined #ocaml
AtumT_ has quit [Quit: AtumT_]
silver has quit [Read error: Connection reset by peer]
nullifidian__ has joined #ocaml
nullifidian_ has quit [Ping timeout: 248 seconds]
Netsu has joined #ocaml
<
Netsu>
What is da way to apply function with nameb arguments? e.g. List.map ~f:(my_fun ~arg_here:) my_list
<
Netsu>
Only fun arg -> here, no partial application allowed?
<
Netsu>
>> Error: This expression has type arg:int -> int but an expression was expected of type int -> 'a
FreeBirdLjj has joined #ocaml
oni-on-ion has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
quarters has quit [Ping timeout: 250 seconds]
quarters has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
Jeanne-Kamikaze has joined #ocaml
mfp has quit [Ping timeout: 248 seconds]
dmoerner_ has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
sz0 has quit [Quit: Connection closed for inactivity]
pierpal has joined #ocaml
Guest66643 has quit [Remote host closed the connection]
gravicappa has joined #ocaml
jao has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 258 seconds]
jao has quit [Ping timeout: 244 seconds]
sonologico has joined #ocaml
tizoc has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
sonologico has quit [Remote host closed the connection]
<
xvilka>
are there any libraries to help check if string is valid unicode stream?
narimiran has joined #ocaml
<
Netsu>
Is there a way to convert any exception to string at OCaml?
Jeanne-Kamikaze has quit [Ping timeout: 268 seconds]
<
Netsu>
Oh, Exn.to_string, sorry
bartholin has quit [Remote host closed the connection]
dr_df0 has joined #ocaml
dr_df0 has quit [Ping timeout: 256 seconds]
niklasl has quit [Ping timeout: 272 seconds]
niklasl has joined #ocaml
q9929t has joined #ocaml
q9929t has quit [Client Quit]
Birdface has joined #ocaml
Haudegen has joined #ocaml
barockobamo has joined #ocaml
dr_df0 has joined #ocaml
dr_df0_ has joined #ocaml
<
dr_df0>
thanks in advance
dr_df0_ has quit [Client Quit]
freyr69 has joined #ocaml
unyu has quit [Quit: ERC (IRC client for Emacs 26.2)]
dr_df0 has quit [Ping timeout: 248 seconds]
Birdface has quit [Remote host closed the connection]
Birdface has joined #ocaml
kakadu has joined #ocaml
gravicappa has quit [Ping timeout: 248 seconds]
gravicappa has joined #ocaml
mfp has joined #ocaml
gravicappa has quit [Ping timeout: 268 seconds]
kakadu_ has joined #ocaml
dr_df0 has joined #ocaml
kakadu has quit [Ping timeout: 258 seconds]
kakadu_ has quit [Ping timeout: 272 seconds]
dr_df0 has quit [Ping timeout: 248 seconds]
oni-on-ion has quit [Ping timeout: 245 seconds]
dr_df0 has joined #ocaml
gravicappa has joined #ocaml
bramford has joined #ocaml
oni-on-ion has joined #ocaml
Birdface has quit [Ping timeout: 246 seconds]
dr_df0 has quit [Ping timeout: 244 seconds]
gravicappa has quit [Ping timeout: 268 seconds]
Birdface has joined #ocaml
Haudegen has quit [Remote host closed the connection]
nullifidian__ has quit [Read error: Connection reset by peer]
Birdface has quit [Quit: Leaving]
nullifidian_ has joined #ocaml
dmoerner_ has quit [Quit: dmoerner_]
dmoerner_ has joined #ocaml
dmoerner_ has quit [Changing host]
dmoerner_ has joined #ocaml
dr_df0 has joined #ocaml
jao has joined #ocaml
dr_df0 has quit [Ping timeout: 246 seconds]
ggole has joined #ocaml
Haudegen has joined #ocaml
dr_df0 has joined #ocaml
jmiven has quit [Quit: co'o]
jmiven has joined #ocaml
dmoerner_ is now known as dmoerner
dr_df0 has quit [Read error: Connection reset by peer]
dr_df0 has joined #ocaml
oni-on-ion has quit [Remote host closed the connection]
dr_df0 has quit [Read error: Connection reset by peer]
dr_df0 has joined #ocaml
dr_df0 has quit [Read error: Connection reset by peer]
dr_df0 has joined #ocaml
dr_df0 has quit [Ping timeout: 248 seconds]
dr_df0 has joined #ocaml
dr_df0 has quit [Quit: leaving]
dr_df0 has joined #ocaml
<
dr_df0>
hi all! quick question, is there a better way than using mutable ref list to capture query results from the Sqlite3.exec callback function:
<
dr_df0>
like in the pseudo code:
<
dr_df0>
let result = ref []
<
dr_df0>
exec db sql ~cb:( fun row _ -> match row.(0) with Some a -> result := a :: !result | _ -> () )
<
freyr69>
dr_df0: it seems not. You could use stack, tho
<
freyr69>
Stack.pop
<
dr_df0>
freyr69: thanks!
Leonidas has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
Leonidas has joined #ocaml
dr_df0 has quit [Ping timeout: 258 seconds]
dr_df0 has joined #ocaml
dr_df0 has quit [Ping timeout: 268 seconds]
dr_df0 has joined #ocaml
dr_df0 has quit [Ping timeout: 248 seconds]
dmoerner has quit [Quit: dmoerner]
dmoerner has joined #ocaml
anton-trunov has quit [Remote host closed the connection]
anton-trunov has joined #ocaml
freyr69 has quit [Remote host closed the connection]
kakadu__ has joined #ocaml
dr_df0 has joined #ocaml
kakadu__ has quit [Ping timeout: 268 seconds]
kakadu has joined #ocaml
dr_df0 has quit [Read error: Connection reset by peer]
kakadu has quit [Remote host closed the connection]
kakadu has joined #ocaml
Haudegen has quit [Remote host closed the connection]
dr_df0 has joined #ocaml
gravicappa has joined #ocaml
oni-on-ion has joined #ocaml
dr_df0 has quit [Ping timeout: 248 seconds]
oni-on-ion has quit [Ping timeout: 245 seconds]
gml8 has joined #ocaml
dr_df0 has joined #ocaml
gml8 has quit [Quit: gml8]
themsay has quit [Ping timeout: 268 seconds]
barockobamo has quit [Remote host closed the connection]
ggole has quit [Quit: Leaving]
ziyourenxiang has quit [Ping timeout: 252 seconds]
oni-on-ion has joined #ocaml
narimiran has quit [Ping timeout: 268 seconds]
dr_df0 has quit [Ping timeout: 248 seconds]
amosbird has joined #ocaml
pierpal has quit [Ping timeout: 248 seconds]
dr_df0 has joined #ocaml
dr_df0 has quit [Ping timeout: 248 seconds]
Haudegen has joined #ocaml
Jesin has quit [Quit: Leaving]
leah2 has quit [Ping timeout: 248 seconds]
pierpal has joined #ocaml
dr_df0 has joined #ocaml
Netsu has quit [Quit: Page closed]
Jesin has joined #ocaml
dr_df0 has quit [Ping timeout: 244 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
malina has joined #ocaml
ravenous_ has joined #ocaml
jao has quit [Remote host closed the connection]
jao has joined #ocaml
leah2 has joined #ocaml
themsay has joined #ocaml
Serpent7776 has joined #ocaml
themsay has quit [Ping timeout: 272 seconds]
nullifidian_ is now known as nullifidian
dr_df0 has joined #ocaml
leah2 has quit [Ping timeout: 272 seconds]
clog has quit [Ping timeout: 245 seconds]
leah2 has joined #ocaml
themsay has joined #ocaml
jnavila has joined #ocaml
clog has joined #ocaml
JimmyRcom has joined #ocaml
kakadu_ has joined #ocaml
narimiran has joined #ocaml
Menche has quit [Excess Flood]
Menche has joined #ocaml
gravicappa has quit [Ping timeout: 248 seconds]
ygrek has joined #ocaml
malina has quit [Quit: Throwing apples of Montserrat]
malina has joined #ocaml
webshinra has quit [Remote host closed the connection]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
Serpent7776 has quit [Quit: leaving]
zolk3ri has joined #ocaml
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pierpal has quit [Ping timeout: 245 seconds]
jnavila has quit [Remote host closed the connection]
orbifx has joined #ocaml
<
orbifx>
anyone here familiar with the lwt_sequence replacement situation? companion_cube
<
orbifx>
I see mirage has gone down the dllist way
<
orbifx>
companion_cube: also `opam search lwt-pipe` doesn't find lwt-pipe
<
companion_cube>
might not be released
<
orbifx>
companion_cube: got a minute to catch me up? I came back to use lwt.sequence and found everyone running away :P
<
companion_cube>
well I can dicuss, but I don't really have time to work on that
<
companion_cube>
it needs more testing, always :/
<
companion_cube>
(or actual use in prod)
<
orbifx>
What are the candidates in play now to substitute sequence?
narimiran has quit [Ping timeout: 272 seconds]
<
companion_cube>
lwt.sequence? no idea really
<
orbifx>
I need to spawn lwt threads (promises?) that communicate with each other by pushing messages to each other
malina has quit [Remote host closed the connection]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
niklasl has quit [Ping timeout: 245 seconds]
catern has quit [Excess Flood]
catern has joined #ocaml
dr_df0_ has joined #ocaml
dr_df0_ has quit [Ping timeout: 245 seconds]
tg has quit [Ping timeout: 252 seconds]
tg has joined #ocaml
erkin has quit [Quit: Ouch! Got SIGIRL, dying...]
erkin has joined #ocaml
erkin has quit [Changing host]
erkin has joined #ocaml
kakadu_ has quit [Remote host closed the connection]
erkin has quit [Client Quit]
erkin has joined #ocaml
ygrek has quit [Ping timeout: 252 seconds]
Haudegen has quit [Ping timeout: 248 seconds]
zolk3ri has quit [Remote host closed the connection]
orbifx has quit [Quit: WeeChat 2.4]
ziyourenxiang has joined #ocaml