00:04
amiloradovsky has quit [Ping timeout: 240 seconds]
00:30
spew has quit [Quit: Connection closed for inactivity]
00:32
borne has quit [Ping timeout: 272 seconds]
01:39
wingsorc has quit [Ping timeout: 240 seconds]
02:13
laokz has joined #ocaml
02:40
_whitelogger has joined #ocaml
02:51
hellome has joined #ocaml
02:52
<
hellome >
hello all, I am new to ocaml and trying to understand. let f a b c d = a.(if b then c else d)
02:52
<
hellome >
why d is int?
02:59
<
d_bot >
<Bluddy> hellome: you're using array indexing code. a.(0) will index the array a at index 0. So both c and d must be integers.
03:02
<
hellome >
d_bot thanks
03:18
nikamika has joined #ocaml
03:25
hellome has quit [Remote host closed the connection]
03:35
nikamika has quit [Ping timeout: 245 seconds]
04:05
mmohammadi981266 has joined #ocaml
04:23
mmohammadi981266 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
04:41
waleee-cl has quit [Quit: Connection closed for inactivity]
04:47
asdsad has joined #ocaml
04:48
<
asdsad >
hey guys let f a b c d e = e .(if e.(1) then a a else b d )
04:48
<
asdsad >
what is type c
04:48
<
asdsad >
I think it can be anything
04:51
delysin has quit [Ping timeout: 256 seconds]
04:54
asdsad has quit [Remote host closed the connection]
04:55
adasdsd has joined #ocaml
05:39
adasdsd has quit [Ping timeout: 245 seconds]
05:56
narimiran has joined #ocaml
05:58
laokz has quit [Quit: Leaving]
06:05
Serpent7776 has joined #ocaml
06:35
bglm[m] has quit [Quit: killed]
06:35
lnxw37d4 has quit [Quit: killed]
06:35
Manis[m] has quit [Quit: killed]
06:35
jimt[m] has quit [Quit: killed]
06:35
sepp2k has quit [Quit: killed]
06:35
BitPuffin has quit [Quit: killed]
06:35
ansiwen[m] has quit [Quit: killed]
06:35
talyian[m] has quit [Quit: killed]
06:35
aterius has quit [Quit: killed]
06:35
dash has quit [Quit: killed]
06:35
quizzop[m] has quit [Quit: killed]
06:35
labor[m] has quit [Quit: killed]
06:35
aspiwack[m] has quit [Quit: killed]
06:35
xzax_[m] has quit [Quit: killed]
06:35
peddie has quit [Quit: killed]
06:35
aecepoglu[m] has quit [Quit: killed]
06:35
flux has quit [Quit: killed]
06:35
pqwy[m] has quit [Quit: killed]
06:43
osa1 has joined #ocaml
06:45
aecepoglu[m] has joined #ocaml
06:46
mmohammadi981266 has joined #ocaml
07:01
decentpenguin has quit [Read error: Connection reset by peer]
07:05
decentpenguin has joined #ocaml
07:06
Haudegen has joined #ocaml
07:27
laokz has joined #ocaml
07:30
cloveistaken has joined #ocaml
07:33
_whitelogger has joined #ocaml
07:35
bglm[m] has joined #ocaml
07:35
labor[m] has joined #ocaml
07:35
Manis[m] has joined #ocaml
07:35
sepp2k has joined #ocaml
07:35
dash has joined #ocaml
07:35
aspiwack[m] has joined #ocaml
07:35
xzax_[m] has joined #ocaml
07:35
aterius has joined #ocaml
07:35
BitPuffin has joined #ocaml
07:35
flux has joined #ocaml
07:35
peddie has joined #ocaml
07:35
ansiwen[m] has joined #ocaml
07:35
pqwy[m] has joined #ocaml
07:35
quizzop[m] has joined #ocaml
07:35
talyian[m] has joined #ocaml
07:36
lnxw37d4 has joined #ocaml
07:36
jimt[m] has joined #ocaml
07:38
Tuplanolla has joined #ocaml
08:10
bartholin has joined #ocaml
08:14
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
08:22
borne has joined #ocaml
08:23
<
Leonidas >
this does not type
08:25
<
d_bot >
<Mando> Hi guys
08:25
<
d_bot >
<Mando> So I was wondering why trying to construct a record in another module will lead to unbound fields error
08:28
<
d_bot >
<Mando> nvm I figured it out
08:28
<
d_bot >
<Mando> apparently it was only a type alias
08:39
bartholin has quit [Quit: Leaving]
08:43
laokz has quit [Ping timeout: 256 seconds]
08:51
ansiwen[m] has quit [Quit: Idle for 30+ days]
08:57
zebrag has joined #ocaml
08:58
inkbottle has quit [Ping timeout: 272 seconds]
09:25
rfv has quit [Ping timeout: 260 seconds]
09:26
mrallen1 has quit [Ping timeout: 260 seconds]
09:28
rfv has joined #ocaml
09:28
mrallen1 has joined #ocaml
09:31
h112 has joined #ocaml
09:31
h11 has quit [Read error: Connection reset by peer]
09:31
h112 is now known as h11
09:40
laokz has joined #ocaml
09:58
delysin has joined #ocaml
10:37
worc3131 has quit [Ping timeout: 272 seconds]
10:47
jbrown has joined #ocaml
10:53
laokz has quit [Ping timeout: 258 seconds]
11:14
narimiran has quit [Ping timeout: 258 seconds]
11:36
wingsorc has joined #ocaml
11:43
laokz has joined #ocaml
12:04
Haudegen has quit [Quit: Bin weg.]
13:05
Haudegen has joined #ocaml
13:11
waleee-cl has joined #ocaml
13:19
spew has joined #ocaml
13:19
mbuf has joined #ocaml
13:33
andreas303 has quit [Ping timeout: 240 seconds]
13:38
andreas303 has joined #ocaml
14:03
mmohammadi981266 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
14:57
osa1 has quit [Quit: osa1]
14:58
osa1 has joined #ocaml
14:58
hnOsmium0001 has joined #ocaml
15:11
tane has joined #ocaml
15:22
narimiran has joined #ocaml
15:24
laokz has quit [Quit: Leaving]
15:38
sm2n has quit [Read error: Connection reset by peer]
15:38
sm2n has joined #ocaml
15:59
mbuf has quit [Quit: Leaving]
16:04
dckc has quit [Ping timeout: 272 seconds]
16:15
dckc has joined #ocaml
16:15
rain1 has quit [Quit: Leaving]
16:18
hannes has quit [Ping timeout: 256 seconds]
16:18
hannes has joined #ocaml
16:19
decentpenguin has quit [Quit: ZNC crashed or something]
16:31
decentpenguin has joined #ocaml
16:36
borne has quit [Ping timeout: 260 seconds]
17:11
decentpenguin has quit [Quit: ZNC crashed or something]
17:33
decentpenguin has joined #ocaml
17:41
vicfred has joined #ocaml
18:12
osa1 has quit [Remote host closed the connection]
18:41
<
d_bot >
<Lupus> won't this explode when called from another domain?
18:44
<
d_bot >
<Lupus> original documentation on `Lwt_preemptive.detach` states the following:
18:44
<
d_bot >
<Lupus> ```
18:44
<
d_bot >
<Lupus> detach f x runs the computation f x in a separate preemptive thread. detach evaluates to an Lwt promise, which is pending until the preemptive thread completes.
18:44
<
d_bot >
<Lupus> Note that Lwt thread-local storage (i.e., Lwt.with_value) cannot be safely used from within f. The same goes for most of the rest of Lwt. If you need to run an Lwt thread in f, use Lwt_preemptive.run_in_main.
18:44
<
d_bot >
<Lupus> ```
18:45
kanishka has joined #ocaml
18:53
<
d_bot >
<Lupus> oh my
18:53
<
d_bot >
<Lupus> a bunch of real mutexes are probably the secret sauce
19:00
jnavila has joined #ocaml
19:11
vicfred has quit [Ping timeout: 256 seconds]
19:40
borne has joined #ocaml
19:57
narimiran has quit [Ping timeout: 240 seconds]
20:08
Anarchos has joined #ocaml
20:09
kanishka has quit [Remote host closed the connection]
20:37
jnavila has quit [Quit: Konversation terminated!]
20:37
Serpent7776 has quit [Quit: leaving]
20:38
amiloradovsky has joined #ocaml
20:48
decentpenguin has quit [Quit: ZNC crashed or something]
20:56
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
21:23
borne has quit [Ping timeout: 272 seconds]
21:31
decentpenguin has joined #ocaml
21:36
borne has joined #ocaml
21:50
worc3131 has joined #ocaml
21:58
tane has quit [Quit: Leaving]
22:06
worc3131 has quit [Ping timeout: 272 seconds]
22:09
sonologico has quit [Remote host closed the connection]
22:18
peterbb has joined #ocaml
22:25
spew has quit [Quit: Connection closed for inactivity]
22:34
cloveistaken has quit [Ping timeout: 244 seconds]
22:41
Jesin has quit [Quit: Leaving]
22:56
Jesin has joined #ocaml
23:07
peterbb has quit [Quit: peterbb]
23:10
Tuplanolla has quit [Ping timeout: 260 seconds]
23:15
decentpenguin has quit [Quit: ZNC crashed or something]
23:31
decentpenguin has joined #ocaml
23:34
vicfred has joined #ocaml
23:37
decentpenguin has quit [Quit: ZNC crashed or something]
23:41
Haudegen has quit [Quit: Bin weg.]
23:50
amiloradovsky has quit [Ping timeout: 240 seconds]