00:01
infinity0_ has joined #ocaml
00:01
infinity0_ is now known as infinity0
00:01
infinity0 has joined #ocaml
00:01
infinity0 has quit [Changing host]
00:02
infinity0 has quit [Remote host closed the connection]
00:04
infinity0 has joined #ocaml
00:05
infinity0 has quit [Remote host closed the connection]
00:07
infinity0 has joined #ocaml
00:07
infinity0 has quit [Remote host closed the connection]
00:10
infinity0 has joined #ocaml
00:10
infinity0 has quit [Remote host closed the connection]
00:12
sgronblo has quit [Ping timeout: 240 seconds]
00:12
infinity0 has joined #ocaml
00:13
infinity0 has quit [Remote host closed the connection]
00:14
sgronblo has joined #ocaml
00:15
infinity0 has joined #ocaml
00:21
yegods has joined #ocaml
00:32
sgronblo has quit [Quit: Lost terminal]
00:33
ziyourenxiang has quit [Quit: Leaving]
00:41
yegods has quit [Remote host closed the connection]
01:04
keep_learning has joined #ocaml
01:04
mfp has quit [Ping timeout: 240 seconds]
01:05
shinnya has quit [Ping timeout: 260 seconds]
01:16
jabroney has quit [Quit: Leaving.]
01:21
silver has quit [Read error: Connection reset by peer]
01:49
ygrek has quit [Ping timeout: 260 seconds]
01:50
spew has quit [Ping timeout: 246 seconds]
02:05
spew has joined #ocaml
02:24
lopex has quit [Quit: Connection closed for inactivity]
02:31
spew has quit [Ping timeout: 240 seconds]
02:39
keep_learning has joined #ocaml
03:08
vgrocha has quit [Ping timeout: 240 seconds]
03:26
yegods has joined #ocaml
03:27
kalio has quit [Quit: WeeChat 1.8]
03:31
kalio has joined #ocaml
03:32
MercurialAlchemi has joined #ocaml
03:50
shubunkin has joined #ocaml
03:54
barcabuona has quit [Ping timeout: 258 seconds]
03:58
barcabuona has joined #ocaml
04:05
pierpa has quit [Ping timeout: 240 seconds]
04:08
jao has quit [Ping timeout: 272 seconds]
04:36
yegods has quit [Remote host closed the connection]
04:36
tormen has quit [Ping timeout: 240 seconds]
04:51
_whitelogger has joined #ocaml
04:55
MercurialAlchemi has quit [Ping timeout: 258 seconds]
04:56
spew has joined #ocaml
04:57
jack5638 has quit [Ping timeout: 260 seconds]
05:01
moei has joined #ocaml
05:02
spew has quit [Quit: foobar]
05:02
spew has joined #ocaml
05:03
jack5638 has joined #ocaml
05:03
thizanne has quit [Ping timeout: 255 seconds]
05:16
thizanne has joined #ocaml
05:22
olibjerd has joined #ocaml
05:27
spew has quit [Quit: foobar]
05:35
MercurialAlchemi has joined #ocaml
05:36
shubunkin has quit [Ping timeout: 255 seconds]
05:49
AlexDenisov has joined #ocaml
06:25
jlam__ has joined #ocaml
06:27
jlam_ has quit [Ping timeout: 258 seconds]
06:58
AlexRussia_ has quit [Ping timeout: 268 seconds]
07:08
govg has quit [Ping timeout: 272 seconds]
07:15
freusque has quit [Quit: WeeChat 1.7]
07:15
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:16
nullifidian has quit [Ping timeout: 268 seconds]
07:19
freusque has joined #ocaml
07:27
govg has joined #ocaml
07:28
frefity has joined #ocaml
07:35
olibjerd has quit [Quit: olibjerd]
07:39
<
frefity >
Hi, how are the max, min and compare functions implemented in ocaml? How can they take any type and know how to compare them?
07:42
olibjerd has joined #ocaml
07:51
keep_learning has joined #ocaml
07:52
chat__ has joined #ocaml
07:53
mengu has joined #ocaml
07:58
<
octachron >
frefity, basically these functions work on OCaml internal representation of values in order to bypass the type system
07:58
govg has quit [Ping timeout: 245 seconds]
07:59
AlexDenisov has joined #ocaml
08:00
AlexRussia_ has joined #ocaml
08:05
_y has quit [Ping timeout: 245 seconds]
08:06
Fardale has quit [Ping timeout: 268 seconds]
08:06
tobiasBora has quit [Ping timeout: 268 seconds]
08:07
_y has joined #ocaml
08:10
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:19
tobiasBora has joined #ocaml
08:19
Fardale has joined #ocaml
08:24
AlexDenisov has joined #ocaml
08:28
nullifidian has joined #ocaml
08:30
mfp has joined #ocaml
08:50
govg has joined #ocaml
08:59
n321 has quit [Quit: WeeChat 1.7]
08:59
ousado has quit [Read error: Connection reset by peer]
09:00
ousado has joined #ocaml
09:05
raphinou has joined #ocaml
09:31
zpe has joined #ocaml
09:42
johnelse_ has quit [Ping timeout: 240 seconds]
09:45
FreeBirdLjj has joined #ocaml
09:50
FreeBirdLjj has quit [Ping timeout: 260 seconds]
09:53
govg has quit [Ping timeout: 240 seconds]
09:56
gallais_ is now known as gallais
10:00
govg has joined #ocaml
10:14
johnelse has joined #ocaml
10:25
lopex has joined #ocaml
10:27
Algebr has joined #ocaml
10:31
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:33
kakadu has joined #ocaml
10:34
johnelse has quit [Ping timeout: 255 seconds]
10:35
kakadu has left #ocaml [#ocaml]
10:35
kakadu has joined #ocaml
10:43
ontologiae has joined #ocaml
10:50
olibjerd has quit [Quit: olibjerd]
11:06
Orion3k has quit [Ping timeout: 246 seconds]
11:12
pierpa has joined #ocaml
11:15
Orion3k has joined #ocaml
11:23
olibjerd has joined #ocaml
11:32
AlexDenisov has joined #ocaml
11:34
govg has quit [Ping timeout: 272 seconds]
11:38
_andre has joined #ocaml
11:41
toolslive has quit [Ping timeout: 246 seconds]
11:48
riveter has quit [Ping timeout: 240 seconds]
11:49
riveter has joined #ocaml
11:49
adarqui has quit [Ping timeout: 240 seconds]
11:49
fraya has joined #ocaml
11:50
SpecialSnowflake is now known as adrien
11:51
adarqui has joined #ocaml
11:54
huza has joined #ocaml
11:58
kolko has quit [Ping timeout: 240 seconds]
11:58
govg has joined #ocaml
12:00
huza has quit [Ping timeout: 240 seconds]
12:01
toolslive has joined #ocaml
12:06
silver has joined #ocaml
12:09
fraya has quit [Quit: Leaving]
12:10
AltGr has joined #ocaml
12:15
jack5638 has quit [Ping timeout: 255 seconds]
12:17
raphinou has quit [Quit: WeeChat 1.6]
12:17
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:17
jack5638 has joined #ocaml
12:20
huza has joined #ocaml
12:26
AlexDenisov has joined #ocaml
12:27
ontologiae has quit [Ping timeout: 255 seconds]
12:27
huza has quit [Quit: WeeChat 1.0.1]
12:36
johnelse has joined #ocaml
12:40
pierpa has quit [Remote host closed the connection]
12:54
toolslive has quit [Read error: Connection reset by peer]
13:02
jack5638 has quit [Ping timeout: 260 seconds]
13:02
jack5638 has joined #ocaml
13:06
tobast has quit [Quit: déjà]
13:07
tobast has joined #ocaml
13:08
toolslive has joined #ocaml
13:11
johnelse has quit [Ping timeout: 260 seconds]
13:12
Simn has joined #ocaml
13:12
AlexRussia_ has quit [Ping timeout: 240 seconds]
13:27
ciniglio has joined #ocaml
13:30
toolslive has quit [Ping timeout: 240 seconds]
13:30
toolslive has joined #ocaml
14:01
ciniglio has quit [Ping timeout: 245 seconds]
14:06
sh0t has joined #ocaml
14:11
MercurialAlchemi has quit [Ping timeout: 240 seconds]
14:11
toolslive has quit [Ping timeout: 246 seconds]
14:14
ciniglio has joined #ocaml
14:16
ontologiae has joined #ocaml
14:23
MercurialAlchemi has joined #ocaml
14:25
trasz has quit [Quit: Lost terminal]
14:26
toolslive has joined #ocaml
14:31
shinnya has joined #ocaml
14:33
MercurialAlchemi has quit [Ping timeout: 260 seconds]
14:34
MercurialAlchemi has joined #ocaml
14:36
jao has joined #ocaml
14:45
MercurialAlchemi has quit [Ping timeout: 268 seconds]
14:50
Algebr has quit [Ping timeout: 268 seconds]
14:51
Algebr has joined #ocaml
14:51
Algebr is now known as Guest58242
14:52
yomimono has joined #ocaml
14:53
copy` has joined #ocaml
14:55
Guest58242 has quit [Ping timeout: 240 seconds]
14:58
ciniglio has quit [Ping timeout: 255 seconds]
15:00
MercurialAlchemi has joined #ocaml
15:01
Mercuria1Alchemi has joined #ocaml
15:01
Algebr` has joined #ocaml
15:03
seangrove has joined #ocaml
15:10
toolslive has quit [Read error: Connection reset by peer]
15:14
jlam_ has joined #ocaml
15:14
jlam__ has quit [Ping timeout: 240 seconds]
15:20
mengu has quit [Remote host closed the connection]
15:20
strykerkkd has joined #ocaml
15:20
mengu has joined #ocaml
15:23
strykerkkd has quit [Client Quit]
15:25
toolslive has joined #ocaml
15:25
<
apache2 >
having some issues with oasis, anyone know how to make it spit out a new setup.ml ?
15:25
mengu has quit [Ping timeout: 268 seconds]
15:28
Mercuria1Alchemi has quit [Remote host closed the connection]
15:28
<
Drup >
"oasis setup"
15:30
FreeBirdLjj has joined #ocaml
15:50
pierpa has joined #ocaml
15:54
Algebr` has quit [Ping timeout: 240 seconds]
15:54
yomimono has quit [Quit: Ex-Chat]
15:54
yomimono_ has joined #ocaml
15:59
shinnya has quit [Ping timeout: 255 seconds]
16:11
zv has quit [Quit: WeeChat 1.6]
16:18
Pepe_ has quit [Ping timeout: 240 seconds]
16:18
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:19
Pepe_ has joined #ocaml
16:22
jabroney has joined #ocaml
16:22
mengu has joined #ocaml
16:26
mengu has quit [Ping timeout: 240 seconds]
16:33
yomimono_ has quit [Ping timeout: 268 seconds]
16:36
alfredo has joined #ocaml
16:37
<
rgrinberg >
Is there an example of building a signal/event from a keypress/mouse event in react + js_of_ocaml?
16:37
<
rgrinberg >
Drup: ^
16:42
FreeBirdLjj has quit [Remote host closed the connection]
16:45
freusque has quit [Quit: WeeChat 1.7]
16:48
zv has joined #ocaml
16:53
alfredo has quit [Ping timeout: 240 seconds]
17:03
ontologiae has quit [Ping timeout: 260 seconds]
17:07
spew has joined #ocaml
17:08
<
Drup >
rgrinberg: in jsoo's examples maybe ?
17:09
<
rgrinberg >
Drup: the closest thing I found was something in the lwt_toplevel_bin project
17:09
<
rgrinberg >
which doesn't even build anymore
17:10
<
Drup >
But basically, Lwt_js_event.clicks (fun _ _ -> my_update_function (); Lwt_return_unit)
17:13
Algebr` has joined #ocaml
17:13
<
rgrinberg >
ok, thanks
17:14
Algebr` has quit [Read error: Connection reset by peer]
17:16
yomimono_ has joined #ocaml
17:23
mengu has joined #ocaml
17:26
zpe has quit [Remote host closed the connection]
17:26
zpe has joined #ocaml
17:27
mengu has quit [Ping timeout: 240 seconds]
17:28
AltGr has left #ocaml [#ocaml]
17:30
FreeBirdLjj has joined #ocaml
17:30
zpe has quit [Ping timeout: 240 seconds]
17:33
tane has joined #ocaml
17:40
spew has quit [Ping timeout: 240 seconds]
17:49
mengu has joined #ocaml
17:54
mengu has quit [Ping timeout: 240 seconds]
17:55
frefity has quit [Ping timeout: 258 seconds]
17:59
al-damiri has joined #ocaml
18:00
yomimono_ has quit [Ping timeout: 268 seconds]
18:02
FreeBirdLjj has quit [Remote host closed the connection]
18:10
larhat has joined #ocaml
18:24
spew has joined #ocaml
18:31
larhat has quit [Quit: Leaving.]
18:32
ygrek has joined #ocaml
18:40
larhat has joined #ocaml
18:55
spew has quit [Quit: foobar]
19:08
mengu has joined #ocaml
19:10
govg has quit [Ping timeout: 260 seconds]
19:14
TheLemonMan has joined #ocaml
19:24
yegods has joined #ocaml
19:39
seangrove has quit [Ping timeout: 260 seconds]
19:46
MercurialAlchemi has quit [Ping timeout: 272 seconds]
19:51
govg has joined #ocaml
19:51
silver_ has joined #ocaml
19:51
kakadu_ has joined #ocaml
19:51
hashpuppy has joined #ocaml
19:52
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
19:54
silver has quit [Ping timeout: 240 seconds]
20:05
SpiceGuid has joined #ocaml
20:08
sz0 has joined #ocaml
20:13
<
reynir >
Isn't 'react' a bit ambiguous in js_of_ocaml? ;)
20:18
<
Drup >
not really, given that the react.js bindings are not completely satisfactory just yet
20:32
shinnya has joined #ocaml
20:37
diphuser has joined #ocaml
20:38
SpiceGuid has quit [Quit: ChatZilla 0.9.93 [SeaMonkey 2.46/20161213183751]]
20:42
<
smondet[m] >
also, the ocaml `react` (Bünzli's one) was around and released long before Facebook
20:42
<
smondet[m] >
's one
20:43
<
rgrinberg >
yo Drup: ocamlbuild could build toplevels right?
20:43
<
rgrinberg >
i.e. wrap ocamlmktop
20:46
kolko has joined #ocaml
20:47
<
Armael >
rgrinberg: yes
20:48
<
Armael >
(I think I have an example somewhere...)
20:49
<
rgrinberg >
I see. Can you link?
20:49
<
rgrinberg >
that's actually a thing that jbuilder currently lacks I believe
20:50
<
Armael >
but iirc the toplevel produced kinda suck because they don't bundle the .cmi of modules they're linked with
20:50
<
Armael >
do you can't just pick the binary
20:51
<
Armael >
(that's probably not an ocamlbuild-specific issue)
21:00
<
Armael >
I don't know if many people build custom toplevels tbh, nowadays I just write a .ocamlinit I put at the root of the repo, which does the required #require and #load
21:00
ontologiae has joined #ocaml
21:11
<
asmanur_ >
estersalgarella: gonan go to bed
21:12
ontologiae has quit [Ping timeout: 272 seconds]
21:12
diphuser has quit [Ping timeout: 240 seconds]
21:18
kakadu has quit [Ping timeout: 240 seconds]
21:19
olibjerd has quit [Quit: olibjerd]
21:26
_andre has quit [Quit: leaving]
21:54
<
rgrinberg >
Armael: I see. It's still a bit tedious to write that stuff manually though
21:54
<
rgrinberg >
So there are no benefits of a custom top level over just having this boilerplate generated?
21:59
<
Armael >
maybe there are, but I don't know any
22:11
hashpuppy has quit [Quit: Connection closed for inactivity]
22:22
hanw has joined #ocaml
22:24
hanw has quit [Client Quit]
22:38
segmond has joined #ocaml
22:43
tane has quit [Quit: Leaving]
22:58
mengu has quit [Remote host closed the connection]
22:58
mengu has joined #ocaml
23:01
sh0t has quit [Remote host closed the connection]
23:03
mengu has quit [Ping timeout: 246 seconds]
23:04
kakadu_ has quit [Remote host closed the connection]
23:23
larhat has quit [Quit: Leaving.]
23:33
silver_ has quit [Quit: rakede]
23:35
yegods has quit [Remote host closed the connection]
23:46
Simn has quit [Read error: Connection reset by peer]
23:59
infinity0_ has joined #ocaml
23:59
infinity0_ has quit [Changing host]
23:59
infinity0 is now known as Guest89507
23:59
infinity0 has joined #ocaml
23:59
Guest89507 has quit [Ping timeout: 246 seconds]