00:01
zRecursive has joined #ocaml
00:05
<
Algebr`` >
yea, so field of an object, no clear way?
00:06
<
Algebr`` >
or at least say this method may only be called by objects other this my own type?
00:06
<
Algebr`` >
rather class foo = object method bar = end where only objects of type foo may call bar
00:07
<
Algebr`` >
ah, 3.17 address it but in an heavy handed way
00:07
mcc has joined #ocaml
00:13
<
zRecursive >
what does (@@) mean ?
00:13
<
Algebr`` >
List.concat
00:13
<
Algebr`` >
eval the right side immediaetly
00:13
<
Algebr`` >
haskell's $
00:13
<
zRecursive >
i see. thanks
00:14
<
zRecursive >
List.concat should be @ ?
00:15
<
zRecursive >
In haskell, f $ x = f x, how about ocaml for (@@) ?
00:16
<
Drup >
zRecursive: exactly the same
00:16
<
Drup >
f @@ x = f x
00:17
<
zRecursive >
Great! I personally prefer eager ocaml to lazy haskell
00:26
<
zRecursive >
what does `many do` mean ?
00:27
<
zRecursive >
Do you mean the sugar do syntax in haskell ?
00:27
<
Algebr`` >
in reply to "I prefer eager ocaml to lazy haskell"
00:27
* zRecursive
the lambdabot in #haskell is very awesome.
00:28
<
zRecursive >
Any similar bot here ?
00:30
sz0 has quit [Quit: Connection closed for inactivity]
00:30
<
Drup >
zRecursive: no
00:32
<
zRecursive >
Maybe in the future ?
00:33
<
Algebr`` >
maybe a good project to do in OCaml ;)
00:34
<
zRecursive >
The lambdabot indeed is very helpful for haskellers to communicate.
00:34
sh0t has quit [Remote host closed the connection]
00:36
yunxing_ has quit [Remote host closed the connection]
00:37
nojb has joined #ocaml
00:39
<
zRecursive >
BTW, why is there (+), (+.) in ocaml ? Is it hard to make (+) polymorphic ?
00:39
<
hcarty >
There was xavierbot or similar for a while
00:40
al-damiri has quit [Quit: Connection closed for inactivity]
00:40
<
zRecursive >
hcarty: xavierbot isnot working now ?
00:41
<
hcarty >
zRecursive: OCaml doesn't support type classes or other mechanisms for symbol/function overloading. A mechanism to support this is being worked on though.
00:41
<
hcarty >
I don't know the current state of xavierbot but it's not running at the moment and hasn't been for a while
00:44
yunxing_ has joined #ocaml
00:44
<
zRecursive >
i alway regard module(type) the same as type class.
00:57
mcspud has joined #ocaml
01:05
Algebr`` has quit [Ping timeout: 252 seconds]
01:07
tvynr has quit [Remote host closed the connection]
01:08
nivek has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:08
nivek has joined #ocaml
01:23
<
hcarty >
There is no automatic resolution of a matching module like you get with type classes
01:24
<
hcarty >
That will (hopefully) come eventually in the form of modular implicits, but that isn't in the language yet
01:31
sh0t has joined #ocaml
01:32
kushal has joined #ocaml
01:38
kolko has joined #ocaml
01:45
yunxing_ has quit [Remote host closed the connection]
01:48
fluter has quit [Ping timeout: 264 seconds]
01:54
fluter has joined #ocaml
02:08
fluter has quit [Ping timeout: 258 seconds]
02:21
nivek has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:24
nicholasf has quit [Remote host closed the connection]
02:29
hcarty has joined #ocaml
02:33
rgrinberg has joined #ocaml
02:37
nivek has joined #ocaml
02:58
yunxing_ has joined #ocaml
03:00
yunxing_ has quit [Remote host closed the connection]
03:00
yunxing_ has joined #ocaml
03:00
yunxing_ has quit [Client Quit]
03:14
nivek has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:16
seangrove has quit [Ping timeout: 244 seconds]
03:25
nicholasf has joined #ocaml
03:27
jonasen has joined #ocaml
03:29
nicholasf has quit [Ping timeout: 240 seconds]
03:45
scarygelatin has quit [Remote host closed the connection]
03:52
nicholasf has joined #ocaml
03:57
jonasen has quit [Ping timeout: 244 seconds]
03:59
MercurialAlchemi has joined #ocaml
03:59
hcarty has quit [Ping timeout: 240 seconds]
04:00
sh0t has quit [Remote host closed the connection]
04:01
rgrinberg has quit [Ping timeout: 250 seconds]
04:02
jonasen has joined #ocaml
04:04
yunxing_ has joined #ocaml
04:12
d0nn1e has quit [Ping timeout: 250 seconds]
04:12
tmtwd has joined #ocaml
04:13
d0nn1e has joined #ocaml
04:16
yunxing__ has joined #ocaml
04:19
fluter has joined #ocaml
04:19
yunxing_ has quit [Ping timeout: 250 seconds]
04:49
fluter has quit [Ping timeout: 264 seconds]
04:55
MercurialAlchemi has quit [Ping timeout: 246 seconds]
04:58
yunxing_ has joined #ocaml
04:58
yunxing__ has quit [Read error: Connection reset by peer]
05:03
manud has quit [Quit: manud]
05:04
nicholasf has quit [Remote host closed the connection]
05:05
nicholasf has joined #ocaml
05:14
pierpa` has quit [Ping timeout: 240 seconds]
05:18
Simn has joined #ocaml
05:18
nicholasf has quit [Remote host closed the connection]
05:19
orbitz has joined #ocaml
05:32
fluter has joined #ocaml
05:41
MercurialAlchemi has joined #ocaml
05:41
nojb has quit [Ping timeout: 244 seconds]
05:45
nicholasf has joined #ocaml
05:46
mcc has quit [Quit: Connection closed for inactivity]
05:49
shinnya has joined #ocaml
05:59
nichola__ has joined #ocaml
06:00
nicholasf has quit [Read error: Connection reset by peer]
06:01
Algebr`` has joined #ocaml
06:06
Algebr`` has quit [Ping timeout: 276 seconds]
06:22
tmtwd has quit [Ping timeout: 276 seconds]
06:22
Algebr`` has joined #ocaml
06:27
Algebr`` has quit [Ping timeout: 258 seconds]
06:45
FreeBirdLjj has joined #ocaml
06:55
A1977494 has joined #ocaml
06:56
kushal has quit [Quit: Leaving]
07:00
nichola__ has quit [Ping timeout: 240 seconds]
07:01
nicholasf has joined #ocaml
07:27
FreeBirdLjj has quit [Remote host closed the connection]
07:27
kamog has joined #ocaml
07:27
FreeBirdLjj has joined #ocaml
07:32
ygrek has joined #ocaml
07:40
nojb has joined #ocaml
07:44
zRecursive has quit [Ping timeout: 244 seconds]
07:47
AltGr has joined #ocaml
07:56
dave24 has joined #ocaml
07:57
sz0 has joined #ocaml
08:07
yunxing_ has quit [Remote host closed the connection]
08:21
NhanH has quit [Ping timeout: 244 seconds]
08:22
kolko has joined #ocaml
08:22
beginner has joined #ocaml
08:22
lobo has quit [Ping timeout: 244 seconds]
08:22
lobo has joined #ocaml
08:23
tristero has quit [Ping timeout: 244 seconds]
08:23
cat5e has quit [Ping timeout: 244 seconds]
08:23
cat5e has joined #ocaml
08:23
NhanH has joined #ocaml
08:33
ygrek has quit [Remote host closed the connection]
08:34
infinity0 has quit [Ping timeout: 240 seconds]
08:36
tumdum has joined #ocaml
08:36
tumdum has joined #ocaml
08:36
tumdum has quit [Changing host]
08:36
octopus1 has joined #ocaml
08:36
infinity0 has joined #ocaml
08:36
jstolare1 has joined #ocaml
08:36
tobast_ has joined #ocaml
08:37
luigy_ has quit [Ping timeout: 244 seconds]
08:37
GustavSvenIsrael has quit [Ping timeout: 258 seconds]
08:38
Algebr`` has joined #ocaml
08:38
Asmadeus_ has joined #ocaml
08:39
cow-orke1 has joined #ocaml
08:39
luigy has joined #ocaml
08:40
engil1 has joined #ocaml
08:40
tg` has joined #ocaml
08:40
struk|desk2 has joined #ocaml
08:40
struk|desk has quit [Ping timeout: 246 seconds]
08:40
jpdeplaix has quit [Ping timeout: 244 seconds]
08:41
wagle has quit [Read error: Connection reset by peer]
08:41
sshine_ has joined #ocaml
08:42
lyxia_ has joined #ocaml
08:42
Algebr`` has quit [Ping timeout: 246 seconds]
08:42
tg has quit [Ping timeout: 240 seconds]
08:42
tobast has quit [Ping timeout: 240 seconds]
08:42
tg` is now known as tg
08:42
cow-orker has quit [Ping timeout: 240 seconds]
08:42
sshine has quit [Ping timeout: 240 seconds]
08:43
tumdum_ has quit [Ping timeout: 252 seconds]
08:43
octopus has quit [Ping timeout: 252 seconds]
08:43
lyxia has quit [Ping timeout: 252 seconds]
08:43
jstolarek has quit [Ping timeout: 252 seconds]
08:43
engil has quit [Ping timeout: 252 seconds]
08:43
ohama has quit [Ping timeout: 252 seconds]
08:43
Asmadeus has quit [Ping timeout: 252 seconds]
08:43
jwatzman|work has joined #ocaml
08:43
wagle has joined #ocaml
08:43
lyxia_ is now known as lyxia
08:44
gustav___ has joined #ocaml
08:45
larhat has joined #ocaml
08:45
stephe_ has quit [Ping timeout: 258 seconds]
08:46
trevorriles has quit [Ping timeout: 258 seconds]
08:46
andreypopp has quit [Ping timeout: 258 seconds]
08:46
mrallen1 has quit [Ping timeout: 258 seconds]
08:46
ohama has joined #ocaml
08:46
parataxis has quit [Ping timeout: 258 seconds]
08:46
jkni has quit [Ping timeout: 258 seconds]
08:46
dch has quit [Ping timeout: 258 seconds]
08:47
dch has joined #ocaml
08:47
trevorriles has joined #ocaml
08:47
henrytill has quit [Ping timeout: 246 seconds]
08:47
mrallen1 has joined #ocaml
08:47
stephe_ has joined #ocaml
08:47
freehck has quit [Remote host closed the connection]
08:48
parataxis has joined #ocaml
08:48
andreypopp has joined #ocaml
08:49
jkni has joined #ocaml
08:50
henrytill has joined #ocaml
08:50
tristero has joined #ocaml
08:55
dhil has joined #ocaml
09:01
kushal has joined #ocaml
09:05
nicholasf has quit [Remote host closed the connection]
09:05
nicholasf has joined #ocaml
09:07
jpdeplaix has joined #ocaml
09:08
yunxing_ has joined #ocaml
09:08
Asmadeus_ is now known as Asmadeus
09:13
yunxing_ has quit [Ping timeout: 264 seconds]
09:16
nicholasf has quit [Ping timeout: 250 seconds]
09:17
nicholasf has joined #ocaml
09:20
AlexRussia has quit [Ping timeout: 246 seconds]
09:35
dexterph has joined #ocaml
09:45
Orion3k has joined #ocaml
09:50
silver has joined #ocaml
09:50
silver has quit [Client Quit]
09:50
silver_ has joined #ocaml
09:55
silver_ is now known as silver
10:06
ski has quit [Quit: Lost terminal]
10:27
rgrinberg has joined #ocaml
10:31
darkf has quit [Ping timeout: 244 seconds]
10:32
rgrinberg has quit [Ping timeout: 260 seconds]
10:49
octachron has joined #ocaml
10:54
sdothum has joined #ocaml
11:04
tane has joined #ocaml
11:09
Kakadu has joined #ocaml
11:13
nicholasf has quit [Remote host closed the connection]
11:15
nicholasf has joined #ocaml
11:36
nivek has joined #ocaml
11:37
dhil has quit [Ping timeout: 260 seconds]
11:43
GeoffSK has joined #ocaml
11:47
mhinz has quit [Disconnected by services]
11:51
<
GeoffSK >
looking for ocamlc clues when compiling against labltk
11:53
<
Kakadu >
use ocamlfind
11:58
mbrock has joined #ocaml
12:01
A1977494 has quit [Quit: Leaving.]
12:05
pierpa has joined #ocaml
12:09
rgrinberg has joined #ocaml
12:12
<
GeoffSK >
how do i get utop to work with labltk, rather than running the replace toplevel labltk
12:13
<
GeoffSK >
i mean i want to use utop and not labltk toplevel
12:15
troydm has quit [Ping timeout: 244 seconds]
12:25
<
GeoffSK >
kakadu:thanks
12:25
GeoffSK has quit [Quit: Thanks, i am leaving]
12:29
nicholasf has quit [Remote host closed the connection]
12:34
kushal has quit [Quit: Leaving]
12:35
kushal has joined #ocaml
12:40
troydm has joined #ocaml
12:42
kdas__ has joined #ocaml
12:44
kushal has quit [Disconnected by services]
12:45
kdas__ is now known as kushal
12:46
kushal has quit [Changing host]
12:46
kushal has joined #ocaml
12:50
mettekou has joined #ocaml
12:51
rgrinberg has quit [Ping timeout: 250 seconds]
12:57
tane has quit [Quit: Verlassend]
12:58
M-jimt has joined #ocaml
13:01
MercurialAlchemi has quit [Ping timeout: 246 seconds]
13:06
FreeBirdLjj has quit [Remote host closed the connection]
13:20
sepp2k has joined #ocaml
13:25
tane has joined #ocaml
13:30
nicholasf has joined #ocaml
13:34
hcarty has joined #ocaml
13:34
nicholasf has quit [Ping timeout: 244 seconds]
13:41
hcarty has quit [Ping timeout: 264 seconds]
13:43
nicholasf has joined #ocaml
13:48
jeffmo has joined #ocaml
13:50
nivek has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:55
ncthom91 has joined #ocaml
13:58
MercurialAlchemi has joined #ocaml
14:03
sethltx has joined #ocaml
14:17
xvw_ has joined #ocaml
14:26
kushal has quit [Ping timeout: 250 seconds]
14:38
A1977494 has joined #ocaml
14:42
malc_ has joined #ocaml
14:50
kolko has quit [Ping timeout: 276 seconds]
14:55
danieli has quit [Changing host]
14:55
danieli has joined #ocaml
14:58
dhil has joined #ocaml
15:00
sh0t has joined #ocaml
15:05
xvw_ has quit [Quit: xvw_]
15:06
mbrock has quit [Quit: Connection closed for inactivity]
15:17
nivek has joined #ocaml
15:33
A1977494 has quit [Remote host closed the connection]
15:44
larhat has quit [Quit: Leaving.]
15:44
nivek has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:46
wiredsister has joined #ocaml
15:48
jwatzman|work has quit [Quit: jwatzman|work]
15:50
agarwal1975 has joined #ocaml
15:51
al-damiri has joined #ocaml
15:56
nivek has joined #ocaml
16:05
hcarty has joined #ocaml
16:16
slash^ has joined #ocaml
16:26
dexterph has quit [Ping timeout: 276 seconds]
16:26
nivek has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:29
octachron has quit [Quit: Page closed]
16:40
kolko has joined #ocaml
16:42
sepp2k has quit [Quit: Leaving.]
16:49
yunxing_ has joined #ocaml
17:03
nojb has quit [Quit: Leaving]
17:04
yunxing_ has quit [Remote host closed the connection]
17:05
yunxing_ has joined #ocaml
17:07
dhil has quit [Ping timeout: 260 seconds]
17:16
kamog has quit [Remote host closed the connection]
17:31
sh0t has quit [Ping timeout: 244 seconds]
17:54
slash^ has quit [Remote host closed the connection]
17:55
slash^ has joined #ocaml
18:00
sh0t has joined #ocaml
18:02
Simn has quit [Read error: Connection reset by peer]
18:06
dave24 has quit [Quit: leaving]
18:10
seangrove has joined #ocaml
18:25
nicholasf has quit [Remote host closed the connection]
18:25
nicholasf has joined #ocaml
18:27
A1977494 has joined #ocaml
18:37
devol has joined #ocaml
18:39
jeffmo has quit [Quit: jeffmo]
18:50
jonasen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:58
jeffmo has joined #ocaml
19:01
StrykerKKD has joined #ocaml
19:20
TheLemonMan has joined #ocaml
19:25
malc_` has joined #ocaml
19:26
malc_ has quit [Ping timeout: 244 seconds]
19:30
nicholasf has quit [Remote host closed the connection]
19:39
nicholasf has joined #ocaml
19:40
sethltx has quit [Quit: Page closed]
19:44
sethltx has joined #ocaml
19:58
jeffmo has quit [Quit: jeffmo]
19:58
silver has quit [Quit: rakede]
19:59
jeffmo has joined #ocaml
20:06
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
20:12
Kakadu has quit [Ping timeout: 250 seconds]
20:22
Algebr` has quit [Remote host closed the connection]
20:26
vpm has quit [Quit: co'o]
20:35
Algebr`` has joined #ocaml
20:38
slash^ has quit [Read error: Connection reset by peer]
20:41
tane has quit [Ping timeout: 264 seconds]
20:54
tane has joined #ocaml
20:54
sethltx has quit [Quit: Page closed]
20:56
Kakadu has joined #ocaml
20:56
devol has quit [Remote host closed the connection]
21:08
sepp2k has joined #ocaml
21:15
octachron has joined #ocaml
21:22
nivek has joined #ocaml
21:29
tane has quit [Quit: Leaving]
21:33
<
Algebr`` >
Drup: there's no deinit/dealloc for objects right
21:33
<
Algebr`` >
I kind of want to add it
21:34
<
mrvn >
Algebr``: there is finalize
21:34
<
Algebr`` >
mrvn: keyword? Tell me more, when does it run
21:35
<
mrvn >
# Gc.finalise;;
21:35
<
mrvn >
- : ('a -> unit) -> 'a -> unit = <fun>
21:35
<
mrvn >
when the GC detects a block is dead before it frees it
21:35
<
mrvn >
For C bindings the custom ops for custom blocks have finalise too
21:36
<
Algebr`` >
yea, I meant specifically for objects
21:36
<
Algebr`` >
just liek initializer
21:36
<
mrvn >
initializer Gc.finalise ...
21:39
malc_` has quit [Remote host closed the connection]
21:39
<
mrvn >
not sure about the complexity of it but I assume it's O(log n) or something.
21:39
darkf has joined #ocaml
21:39
<
mrvn >
probably good not to abuse it for a billion objects
21:45
<
seliopou >
hcarty: sorry haven't had time to comment on PR but looks good!
21:45
<
seliopou >
more substantive comments tomorrow
21:48
StrykerKKD has quit [Quit: Leaving]
21:53
octachron has quit [Quit: Leaving]
21:56
tobast_ is now known as tobast
21:56
<
hcarty >
seliopou: Sounds good, thanks!
22:04
mettekou has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:05
jeffmo_ has joined #ocaml
22:06
yunxing_ has quit [Remote host closed the connection]
22:06
jeffmo has quit [Ping timeout: 244 seconds]
22:06
jeffmo_ is now known as jeffmo
22:07
yunxing_ has joined #ocaml
22:28
MercurialAlchemi has quit [Ping timeout: 240 seconds]
22:40
nicholasf has quit [Remote host closed the connection]
22:42
nicholasf has joined #ocaml
22:42
sepp2k has quit [Quit: Leaving.]
22:44
AltGr has left #ocaml [#ocaml]
22:45
Algebr has joined #ocaml
22:50
agarwal1975 has quit [Ping timeout: 244 seconds]
23:27
two_wheels has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:28
two_wheels has joined #ocaml
23:33
wiredsister has quit [Ping timeout: 246 seconds]
23:34
madroach has quit [Ping timeout: 244 seconds]
23:36
madroach has joined #ocaml
23:37
nicholasf has quit [Remote host closed the connection]
23:49
two_wheels has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:52
Kakadu has quit [Remote host closed the connection]
23:53
seangrove has quit [Ping timeout: 250 seconds]
23:55
nicholasf has joined #ocaml
23:59
jun__ has quit [Ping timeout: 264 seconds]