00:02
osa1_ has joined #ocaml
00:02
wolfnn has quit [Ping timeout: 272 seconds]
00:06
osa1 has joined #ocaml
00:10
osa1_ has quit [Ping timeout: 248 seconds]
00:10
<
rs0 >
i'm brand new to OCaml and i'm trying to write an RSpec clone to learn the language
00:10
<
rs0 >
to start out, i have a rudimentary test runner function with the signature val it : string -> (unit -> unit) -> unit = <fun>
00:11
<
rs0 >
the usage currently looks like,
00:11
nikki93 has quit [Remote host closed the connection]
00:11
<
rs0 >
it "can add two and two" (fun() -> assert(2 + 2 = 4));;
00:11
<
rs0 >
i'm wondering if i can clean up the lambda expression syntax somehow. i can put everything after the arrow on a newline, but i haven't figured out a way to omit the parens
00:12
<
Drup >
I don't think you can
00:12
ahill-89 has quit [Read error: Connection reset by peer]
00:12
<
Drup >
but wouldn't be better with a signature like that : "string -> (unit -> bool) -> unit"
00:12
<
rs0 >
the weird thing is, if i omit the parens the code still compiles, but that test doesn't run. i'm not sure what it's doing or how it's interpreting that code
00:13
<
rs0 >
generally test runners work on assertion functions that throw exceptions, rather than true/false behavior
00:13
<
Drup >
but assert take a boolean anyway
00:14
<
rs0 >
but i'm just seeing how far i can get towards a spec DSL without having to fire up camlp4
00:14
<
Drup >
you can get rid of the assert
00:14
<
Drup >
you can even get rid of the function and just use a boolean, I think
00:16
<
Drup >
(I must say I'm not really into tests, you can ask companion_cube about that for exemple, or some other people)
00:16
kyrylo has quit [Ping timeout: 246 seconds]
00:17
ahill-89 has joined #ocaml
00:18
tulloch has joined #ocaml
00:25
talzeus has quit [Remote host closed the connection]
00:31
Xenasis has quit [Remote host closed the connection]
00:31
mcclurmc has quit [Remote host closed the connection]
00:32
mcclurmc has joined #ocaml
00:34
strobegen has joined #ocaml
00:34
jgross has left #ocaml []
00:41
nikki93 has joined #ocaml
00:42
nikki93 has quit [Remote host closed the connection]
00:42
nikki93 has joined #ocaml
00:45
ollehar has quit [Ping timeout: 240 seconds]
00:49
manizzle has joined #ocaml
00:52
yminsky has quit [Quit: yminsky]
00:52
talzeus has joined #ocaml
00:55
ahill-89 has quit [Quit: leaving]
01:03
cesar_ has joined #ocaml
01:04
cesar_ is now known as Guest31401
01:05
Guest31401 has quit [Remote host closed the connection]
01:06
manizzle is now known as WeLoveCP
01:07
WeLoveCP is now known as manizzle
01:13
ygrek has joined #ocaml
01:22
tulloch has quit [Ping timeout: 272 seconds]
01:39
zpe has joined #ocaml
01:40
boogie has joined #ocaml
01:44
zpe has quit [Ping timeout: 265 seconds]
01:46
osa1 has quit [Ping timeout: 246 seconds]
01:50
nikki93 has quit [Remote host closed the connection]
01:51
NoNNaN has quit [Remote host closed the connection]
01:51
NoNNaN has joined #ocaml
01:54
mcclurmc has quit [Remote host closed the connection]
01:55
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:01
ygrek has quit [Ping timeout: 248 seconds]
02:01
nikki93 has joined #ocaml
02:01
w0rm_x has quit [Quit: if Φ Σ e : φ then Φ Σ τ' → σ' :: ∃]
02:08
chrisdotcode has joined #ocaml
02:12
tulloch has joined #ocaml
02:18
csakatoku has joined #ocaml
02:22
Drup has quit [Quit: Leaving.]
02:30
osa1 has joined #ocaml
02:35
shinnya has quit [Ping timeout: 240 seconds]
02:40
zpe has joined #ocaml
02:40
tristero has quit [Ping timeout: 246 seconds]
02:44
zpe has quit [Ping timeout: 265 seconds]
02:45
tulloch has quit [Ping timeout: 264 seconds]
02:48
tulloch has joined #ocaml
02:57
ygrek has joined #ocaml
03:01
osa1 has quit [Ping timeout: 272 seconds]
03:20
osa1 has joined #ocaml
03:22
tulloch has quit [Ping timeout: 246 seconds]
03:29
osa1 has quit [Ping timeout: 272 seconds]
03:37
nikki93 has quit [Remote host closed the connection]
03:40
zpe has joined #ocaml
03:44
zpe has quit [Ping timeout: 246 seconds]
03:49
tulloch has joined #ocaml
03:53
manizzle has quit [Ping timeout: 272 seconds]
03:55
siddharthv has joined #ocaml
03:58
manizzle has joined #ocaml
04:03
yacks has quit [Quit: Leaving]
04:11
csakatoku has quit [Remote host closed the connection]
04:12
csakatoku has joined #ocaml
04:16
csakatoku has quit [Ping timeout: 248 seconds]
04:18
ggole has joined #ocaml
04:22
tulloch has quit [Ping timeout: 272 seconds]
04:24
boogie has quit [Remote host closed the connection]
04:25
patojo has joined #ocaml
04:29
Lajjla has joined #ocaml
04:29
<
Lajjla >
Ocaml does not have type classes a la haskell does it?
04:31
<
whitequark >
it doesn't
04:31
<
Lajjla >
Hmm, so does a function either operate on one type or all the types or is there a way to restrict it to a certain set of types?
04:36
<
Lajjla >
hmm, whitequark?
04:47
<
ggole >
Modules are similar to type classes in some ways
04:47
<
ggole >
Although they are much more explicit
04:48
tulloch has joined #ocaml
04:51
<
Lajjla >
ggole, pry explain, how does a module dos the same thing as a typeclass.
04:52
<
ggole >
Modules can take arguments. So you can parameterise a module, giving much the same effect.
04:52
<
Lajjla >
Seriously?
04:52
<
Lajjla >
THat's a pretty cool idea.
04:54
<
ggole >
Yeah, modules are nice
04:54
<
ggole >
They are a bit verbose though
04:55
<
Lajjla >
I remember ranting 2 months back or so on some IRC channel that there is no theoretical reason why modules can't be paramatrized based on arguments, no one pointed me to ocaml.
04:55
<
Lajjla >
I should probably learn ths language
04:56
darkf has quit [Read error: Connection reset by peer]
04:56
darkf has joined #ocaml
04:58
csakatoku has joined #ocaml
05:01
<
Lajjla >
Ah, I don't even have to break international law to pirate it, how generous.
05:03
avsm has quit [Quit: Leaving.]
05:04
<
Lajjla >
I find it intrestinth oug that 'why ocaml' does not compare it to Haskell.
05:12
mcclurmc has joined #ocaml
05:18
nikki93 has joined #ocaml
05:23
tulloch has quit [Ping timeout: 264 seconds]
05:28
ygrek has quit [Ping timeout: 240 seconds]
05:35
gour has joined #ocaml
05:41
zpe has joined #ocaml
05:42
patojo has quit [Remote host closed the connection]
05:45
zpe has quit [Ping timeout: 245 seconds]
05:48
tulloch has joined #ocaml
05:50
wormphlegm has quit [Ping timeout: 272 seconds]
05:59
mcclurmc has quit [Remote host closed the connection]
06:01
mcclurmc has joined #ocaml
06:06
mcclurmc has quit [Ping timeout: 272 seconds]
06:07
ygrek has joined #ocaml
06:16
wormphlegm has joined #ocaml
06:20
csakatok_ has joined #ocaml
06:22
tulloch has quit [Ping timeout: 240 seconds]
06:22
wormphlegm has quit [Ping timeout: 264 seconds]
06:22
csakatoku has quit [Ping timeout: 264 seconds]
06:32
csakatok_ has quit [Remote host closed the connection]
06:32
Lajjla is now known as LolDLolddelolt
06:32
LolDLolddelolt is now known as LoldLolddelolt
06:33
Neros has quit [Ping timeout: 248 seconds]
06:34
fayden has quit [Ping timeout: 246 seconds]
06:37
nikki93 has quit [Remote host closed the connection]
06:41
zpe has joined #ocaml
06:42
derek_c has joined #ocaml
06:42
manizzle has quit [Read error: Connection reset by peer]
06:45
csakatoku has joined #ocaml
06:46
zpe has quit [Ping timeout: 272 seconds]
06:48
fayden has joined #ocaml
06:48
tulloch has joined #ocaml
06:49
nikki93_ has joined #ocaml
06:55
<
smiler >
"A bit"? That's a bit too mild of an expression.
06:57
ttamttam has joined #ocaml
06:57
_5kg has quit [Ping timeout: 272 seconds]
06:58
_5kg has joined #ocaml
07:02
ollehar has joined #ocaml
07:02
<
flux >
cool, six sites at once glance!
07:02
<
flux >
do the pictures update?
07:03
<
smiler >
That would be somewhat cool
07:03
<
smiler >
But god I hate text rendered as images
07:18
wormphlegm has joined #ocaml
07:19
yezariaely has joined #ocaml
07:20
Kakadu has joined #ocaml
07:22
tulloch has quit [Ping timeout: 240 seconds]
07:22
nikki93_ has quit [Remote host closed the connection]
07:23
wormphlegm has quit [Ping timeout: 272 seconds]
07:27
Guest40212 has quit [Remote host closed the connection]
07:32
darkf has quit [Read error: Connection reset by peer]
07:32
darkf has joined #ocaml
07:33
derek_c has quit [Quit: Lost terminal]
07:35
AltGr has joined #ocaml
07:37
<
gour >
smiler: let's be positive ;)
07:42
<
gour >
otoh, i'm more concerned to see what will happen with ocaml bindings for wx/qt...sites are easy to fix :-)
07:42
zpe has joined #ocaml
07:43
[BNC]passiveobse has left #ocaml []
07:43
mika1 has joined #ocaml
07:43
cago has joined #ocaml
07:45
rand000 has joined #ocaml
07:46
zpe has quit [Ping timeout: 264 seconds]
07:48
tulloch has joined #ocaml
07:49
rand000 has quit [Client Quit]
07:56
enstrophy has joined #ocaml
07:59
djcoin has joined #ocaml
08:01
sgnb has joined #ocaml
08:02
<
companion_cube >
rs0: omitting the fun () -> is going to be hard
08:04
peterbb has quit [Ping timeout: 245 seconds]
08:13
chambart has joined #ocaml
08:13
djcoin has quit [Quit: WeeChat 0.4.1]
08:13
nk0 has joined #ocaml
08:14
tesuji has joined #ocaml
08:14
tesuji has quit [Excess Flood]
08:15
Fnar has joined #ocaml
08:16
tesuji has joined #ocaml
08:19
wormphlegm has joined #ocaml
08:20
ollehar has quit [Quit: ollehar]
08:20
tesuji has quit [Read error: Connection reset by peer]
08:22
tulloch has quit [Ping timeout: 248 seconds]
08:23
nikki93 has joined #ocaml
08:24
wormphlegm has quit [Ping timeout: 272 seconds]
08:25
zpe has joined #ocaml
08:27
nikki93 has quit [Ping timeout: 245 seconds]
08:29
zpe has quit [Ping timeout: 246 seconds]
08:36
Kakadu has quit [Remote host closed the connection]
08:37
Kakadu has joined #ocaml
08:45
thomasga has joined #ocaml
08:48
chambart has quit [Ping timeout: 272 seconds]
08:48
tulloch has joined #ocaml
08:52
ttamttam has quit [Read error: Connection reset by peer]
08:52
ttamttam has joined #ocaml
08:52
ttamttam has quit [Read error: Connection reset by peer]
08:52
ttamttam has joined #ocaml
08:53
ttamttam has quit [Read error: Connection reset by peer]
08:53
ttamttam has joined #ocaml
08:54
ttamttam has quit [Read error: Connection reset by peer]
08:54
tulloch has quit [Ping timeout: 264 seconds]
08:54
ttamttam has joined #ocaml
08:57
ttamttam has quit [Read error: Connection reset by peer]
08:57
ttamttam has joined #ocaml
08:57
ttamttam has quit [Read error: Connection reset by peer]
08:57
ttamttam has joined #ocaml
08:58
ttamttam has quit [Read error: Connection reset by peer]
08:58
ttamttam has joined #ocaml
08:58
ttamttam has quit [Read error: Connection reset by peer]
08:58
ttamttam has joined #ocaml
08:59
ttamttam has quit [Read error: Connection reset by peer]
08:59
ttamttam has joined #ocaml
08:59
ttamttam has quit [Read error: Connection reset by peer]
08:59
ttamttam has joined #ocaml
09:00
ttamttam has quit [Read error: Connection reset by peer]
09:00
ttamttam has joined #ocaml
09:00
ttamttam has quit [Read error: Connection reset by peer]
09:00
ttamttam has joined #ocaml
09:01
cago has quit [Ping timeout: 246 seconds]
09:01
cago has joined #ocaml
09:02
ttamttam has quit [Read error: Connection reset by peer]
09:02
ttamttam has joined #ocaml
09:02
ttamttam has quit [Read error: Connection reset by peer]
09:02
Kakadu has quit [Remote host closed the connection]
09:02
ttamttam has joined #ocaml
09:02
ttamttam has quit [Read error: Connection reset by peer]
09:03
ttamttam has joined #ocaml
09:03
Kakadu has joined #ocaml
09:03
ttamttam has quit [Read error: Connection reset by peer]
09:03
ttamttam has joined #ocaml
09:03
_andre has joined #ocaml
09:04
manizzle has joined #ocaml
09:05
ttamttam has quit [Read error: Connection reset by peer]
09:05
ttamttam has joined #ocaml
09:05
ttamttam has quit [Read error: Connection reset by peer]
09:06
ttamttam has joined #ocaml
09:06
zpe has joined #ocaml
09:08
ttamttam has quit [Read error: Connection reset by peer]
09:08
ttamttam has joined #ocaml
09:08
ttamttam has quit [Read error: Connection reset by peer]
09:09
ttamttam has joined #ocaml
09:09
cago has quit [Ping timeout: 272 seconds]
09:10
ttamttam has quit [Read error: Connection reset by peer]
09:10
jonludlam has joined #ocaml
09:10
ttamttam has joined #ocaml
09:10
ttamttam has quit [Read error: Connection reset by peer]
09:10
ttamttam has joined #ocaml
09:11
ttamttam has quit [Read error: Connection reset by peer]
09:11
ttamttam has joined #ocaml
09:11
ttamttam has quit [Read error: Connection reset by peer]
09:11
ttamttam has joined #ocaml
09:13
cago has joined #ocaml
09:14
Simn has joined #ocaml
09:14
cago has quit [Read error: Connection reset by peer]
09:14
cago has joined #ocaml
09:16
ttamttam has quit [Read error: Connection reset by peer]
09:16
ttamttam has joined #ocaml
09:16
ttamttam has quit [Read error: Connection reset by peer]
09:16
peterbb has joined #ocaml
09:16
ttamttam has joined #ocaml
09:16
tulloch has joined #ocaml
09:17
ttamttam has quit [Read error: Connection reset by peer]
09:17
ttamttam has joined #ocaml
09:17
ttamttam has quit [Read error: Connection reset by peer]
09:17
aa47f8 has joined #ocaml
09:18
ttamttam has joined #ocaml
09:18
kyrylo has joined #ocaml
09:18
cago has quit [Ping timeout: 245 seconds]
09:20
wormphlegm has joined #ocaml
09:20
ttamttam has quit [Read error: Connection reset by peer]
09:20
ttamttam has joined #ocaml
09:21
ttamttam has quit [Read error: Connection reset by peer]
09:21
ttamttam has joined #ocaml
09:22
ttamttam has quit [Read error: Connection reset by peer]
09:22
ttamttam has joined #ocaml
09:22
ttamttam has quit [Read error: Connection reset by peer]
09:23
ttamttam has joined #ocaml
09:23
wormphlegm has quit [Read error: Operation timed out]
09:23
ttamttam has quit [Read error: Connection reset by peer]
09:23
ttamttam has joined #ocaml
09:23
ttamttam has quit [Read error: Connection reset by peer]
09:23
ttamttam has joined #ocaml
09:23
csakatoku has quit [Remote host closed the connection]
09:23
ttamttam has quit [Read error: Connection reset by peer]
09:24
ttamttam has joined #ocaml
09:24
cago has joined #ocaml
09:24
ttamttam has quit [Read error: Connection reset by peer]
09:24
ttamttam has joined #ocaml
09:24
csakatoku has joined #ocaml
09:27
ttamttam has quit [Read error: Connection reset by peer]
09:27
ttamttam has joined #ocaml
09:27
ttamttam has quit [Read error: Connection reset by peer]
09:27
cago1 has joined #ocaml
09:28
ttamttam has joined #ocaml
09:28
cago has quit [Ping timeout: 245 seconds]
09:28
ttamttam has quit [Read error: Connection reset by peer]
09:28
ttamttam has joined #ocaml
09:28
ttamttam has quit [Read error: Connection reset by peer]
09:29
ttamttam has joined #ocaml
09:29
csakatoku has quit [Ping timeout: 272 seconds]
09:31
tulloch has quit [Ping timeout: 240 seconds]
09:31
sepp2k has joined #ocaml
09:36
kyrylo has quit [Ping timeout: 265 seconds]
09:45
skchrko has joined #ocaml
09:46
cago has joined #ocaml
09:46
cago1 has quit [Read error: Connection reset by peer]
09:47
cago1 has joined #ocaml
09:47
cago has quit [Read error: Connection reset by peer]
09:49
mchqwerty has joined #ocaml
09:55
wolfnn has joined #ocaml
09:58
cago1 has quit [Ping timeout: 245 seconds]
09:58
cago has joined #ocaml
10:00
ollehar has joined #ocaml
10:03
cago has quit [Ping timeout: 252 seconds]
10:04
cago has joined #ocaml
10:11
cago has quit [Ping timeout: 265 seconds]
10:12
cago has joined #ocaml
10:14
toolslive has joined #ocaml
10:16
Xenasis has joined #ocaml
10:18
cago has quit [Ping timeout: 246 seconds]
10:18
tulloch has joined #ocaml
10:20
wormphlegm has joined #ocaml
10:24
w0rm_x has joined #ocaml
10:25
csakatoku has joined #ocaml
10:25
wormphlegm has quit [Ping timeout: 248 seconds]
10:27
cago has joined #ocaml
10:28
cago1 has joined #ocaml
10:28
cago has quit [Client Quit]
10:34
Neros has joined #ocaml
10:36
ygrek has quit [Ping timeout: 272 seconds]
10:37
_5kg has quit [Ping timeout: 272 seconds]
10:38
_5kg has joined #ocaml
10:39
BitPuffin has joined #ocaml
10:42
dsheets_ has quit [Ping timeout: 245 seconds]
10:45
bobry has joined #ocaml
10:50
tulloch has quit [Ping timeout: 272 seconds]
10:58
BitPuffin has quit [Quit: WeeChat 0.4.2]
10:58
csakatoku has quit [Remote host closed the connection]
10:59
BitPuffin has joined #ocaml
11:00
talzeus has quit [Remote host closed the connection]
11:03
oriba has joined #ocaml
11:07
csakatoku has joined #ocaml
11:07
csakatoku has quit [Read error: Connection reset by peer]
11:07
csakatoku has joined #ocaml
11:09
milosn has quit [Ping timeout: 246 seconds]
11:11
milosn has joined #ocaml
11:13
cago has joined #ocaml
11:14
cago1 has quit [Ping timeout: 245 seconds]
11:14
csakatoku has quit [Ping timeout: 264 seconds]
11:15
siddharthv has quit [Ping timeout: 245 seconds]
11:17
ygrek has joined #ocaml
11:18
tulloch has joined #ocaml
11:21
sablib has joined #ocaml
11:21
<
toolslive >
I need some strategic advice on weeding out a memory leak (huge codebase/process, lots of things happening concurrently)
11:21
<
toolslive >
what exactly are my options here?
11:21
wormphlegm has joined #ocaml
11:22
q66 has quit [Ping timeout: 246 seconds]
11:26
dsheets_ has joined #ocaml
11:27
wormphlegm has quit [Ping timeout: 264 seconds]
11:28
ygrek has quit [Ping timeout: 245 seconds]
11:30
q66 has joined #ocaml
11:32
<
ggole >
What kind of leak? Is it in C code, or OCaml code?
11:32
Drup has joined #ocaml
11:32
<
toolslive >
dunno. the process grows slowly over time.
11:33
talzeus has joined #ocaml
11:33
yacks has joined #ocaml
11:33
<
toolslive >
the OCaml codebase use some C wrapped libraries ....
11:34
<
ggole >
Have a look at Gc.stat: live_words might be interesting
11:34
<
ggole >
If you have a space leak, it may be quite high
11:35
<
ggole >
Leaks in C code might be challenging: I would usually use something like Valgrind, but I don't think it plays nice with OCaml
11:36
<
toolslive >
well, valgrind plays nice for profiling, but not for memory leaks.
11:37
<
toolslive >
I tried to set up the heap profiling patched compiler but it failed to compile
11:37
sablib has quit [Ping timeout: 245 seconds]
11:40
osa1 has joined #ocaml
11:42
<
ggole >
(I've never used it myself though.)
11:44
skchrko has quit [Ping timeout: 246 seconds]
11:45
BitPuffin has quit [Quit: WeeChat 0.4.2]
11:45
thomasga has quit [Quit: Leaving.]
11:47
Neros has quit [Ping timeout: 245 seconds]
11:47
BitPuffin has joined #ocaml
11:48
Xenasis has quit [Remote host closed the connection]
11:50
thomasga has joined #ocaml
11:53
<
toolslive >
I installed in ocamlviz in the passed, you need to instrument your code to make it work, and it's quite buggy too.
11:53
<
toolslive >
I installed in ocamlviz in the past, you need to instrument your code to make it work, and it's quite buggy too.
11:54
thomasga has quit [Client Quit]
11:58
<
toolslive >
Gc.stat.live_words varies, but avg increases...
11:59
<
toolslive >
btw is this still a problem with 4.01 ? let (x, y_huge) = e in (fun .. -> ... x ...)
12:04
<
adrien_oww >
I don't think this has changed
12:04
<
adrien_oww >
but I can't tell for sure
12:08
nk0 has quit [Read error: Connection reset by peer]
12:09
Neros has joined #ocaml
12:15
<
mrvn >
If it is such a problem why don't you write: let x = let (x, y_huge) = e in x in (fun .. -> ... x ...)?
12:20
<
toolslive >
can I be sure the compiler does not inline this with .... (fun .. -> ..... (fst e) ... ) ?
12:21
<
toolslive >
btw, it's a huge codebase. it's not easy to check possible occurrences.
12:21
<
adrien >
usually speaking, you shouldn't fear ocaml doing too many optimizations :D
12:22
thomasga has joined #ocaml
12:22
wormphlegm has joined #ocaml
12:23
tulloch has quit [Ping timeout: 246 seconds]
12:23
tulloch has joined #ocaml
12:23
breakds has joined #ocaml
12:23
<
ggole >
Changing at which time e is evaluated would not be valid in the general case.
12:24
<
ggole >
Tracking down space leaks seems like it would be pretty hard though
12:25
thomasga has quit [Client Quit]
12:26
thomasga has joined #ocaml
12:27
wormphlegm has quit [Ping timeout: 245 seconds]
12:28
tulloch has quit [Ping timeout: 252 seconds]
12:29
<
adrien >
it's not really changing the time of aevaluation
12:29
<
adrien >
what you need to do is make the expression not visible from inside the (fun .....)
12:32
djcoin has joined #ocaml
12:33
<
ggole >
How does moving e from outside to inside the (fun ...) not change the time of evaluation?
12:39
ygrek has joined #ocaml
12:40
<
toolslive >
the pattern mathing is compiled to let x = fst e in .... and then consequently inlined , no?
12:41
<
adrien >
ggole: I haven't precisely looked at the code; I meant that as a general rule
12:42
* adrien
is trying to understand why he gets a bad value in his network boot
12:45
<
ggole >
toolslive: you can't have arbitrary motion of expressions in general because they may have side effects
12:45
ygrek_ has joined #ocaml
12:45
ygrek has quit [Ping timeout: 265 seconds]
12:45
<
toolslive >
true, but destruction of a tuple has no side effects....
12:46
<
toolslive >
and I still have my memory leak...
12:50
ygrek_ has quit [Ping timeout: 272 seconds]
12:50
ygrek has joined #ocaml
12:51
chambart has joined #ocaml
12:56
csakatoku has joined #ocaml
12:58
ygrek has quit [Remote host closed the connection]
13:03
tulloch has joined #ocaml
13:08
darkf has quit [Quit: Leaving]
13:08
ski has quit [Remote host closed the connection]
13:11
dsheets_ has quit [Ping timeout: 245 seconds]
13:16
wormphlegm has joined #ocaml
13:19
csakatoku has quit [Remote host closed the connection]
13:23
skchrko has joined #ocaml
13:24
<
nicoo >
Is bitstring useable with js_of_ocaml ?
13:25
csakatoku has joined #ocaml
13:25
t0yv0 has joined #ocaml
13:27
talzeus has quit [Read error: Connection reset by peer]
13:28
Kakadu has quit [Ping timeout: 264 seconds]
13:28
talzeus has joined #ocaml
13:30
csakatoku has quit [Ping timeout: 245 seconds]
13:30
osa1 has quit [Quit: Konversation terminated!]
13:30
osa1 has joined #ocaml
13:30
<
nicoo >
Nevermind, it uses C code, but little enough to be replaced with JS functions
13:31
wolfnn has quit [Ping timeout: 252 seconds]
13:35
testcocoon has quit [Quit: Coyote finally caught me]
13:36
_5kg has quit [Ping timeout: 245 seconds]
13:37
_5kg has joined #ocaml
13:37
avsm has joined #ocaml
13:38
avsm has quit [Client Quit]
13:38
thomasga has quit [Quit: Leaving.]
13:39
testcocoon has joined #ocaml
13:40
thomasga has joined #ocaml
13:41
hyperboreean has quit [Ping timeout: 268 seconds]
13:43
osa1 has quit [Read error: Operation timed out]
13:53
Neros has quit [Ping timeout: 245 seconds]
14:01
<
gasche >
def-lkb: this revamp of the parsing code you've mentioned
14:01
<
gasche >
where can I read about it?
14:02
<
gasche >
there should be a Merlin blog with comment on important changes, future plans, design etc.
14:05
osa1_ has joined #ocaml
14:07
osa1_ has quit [Client Quit]
14:23
ygrek has joined #ocaml
14:26
saml has joined #ocaml
14:27
dsheets_ has joined #ocaml
14:27
mchqwerty has quit [Ping timeout: 272 seconds]
14:28
Kakadu has joined #ocaml
14:28
mcclurmc has joined #ocaml
14:29
mchqwerty has joined #ocaml
14:35
enstrophy has quit [Ping timeout: 250 seconds]
14:40
<
rks` >
gasche: it's nowhere yet
14:40
<
rks` >
but menhir should be published on github changes
14:40
<
rks` >
the first changes will be there
14:41
<
rks` >
merlin parser will be rewritten after that (but that should take a while)
14:41
<
rks` >
as for the blog, for the moment we're considering using the mailing list for that purpose
14:48
Neros has joined #ocaml
14:51
dsheets_ has quit [Ping timeout: 240 seconds]
14:53
gour has quit [Disconnected by services]
14:53
gour_ has joined #ocaml
14:58
sagotch has joined #ocaml
15:05
shinnya has joined #ocaml
15:09
dsheets_ has joined #ocaml
15:10
avsm has joined #ocaml
15:11
BitPuffin has quit [Ping timeout: 252 seconds]
15:13
cago has left #ocaml []
15:14
mika1 has quit [Quit: Leaving.]
15:17
mchqwerty has quit [Quit: Odcházím]
15:18
gour_ is now known as gour
15:19
jonludlam has quit [Ping timeout: 252 seconds]
15:20
hyperboreean has joined #ocaml
15:20
thomasga has quit [Quit: Leaving.]
15:24
zpe has quit [Remote host closed the connection]
15:26
BitPuffin has joined #ocaml
15:28
yminsky has joined #ocaml
15:33
jonludlam has joined #ocaml
15:35
thomasga has joined #ocaml
15:38
yminsky has quit [Quit: yminsky]
15:40
avsm has quit [Quit: Leaving.]
15:40
avsm has joined #ocaml
15:40
mfp has quit [Ping timeout: 272 seconds]
15:41
yminsky has joined #ocaml
15:43
sagotch has quit [Ping timeout: 250 seconds]
15:44
<
ygrek >
toolslive, pmpa may show you the frequently allocating code, probably it can give a hint on the leak
15:44
<
ygrek >
also using objsize on suspected data structures is an option
15:45
<
adrien >
poor man's profiler
15:45
<
adrien >
(for allocations?)
15:45
<
adrien >
it's a tool by ygrek
15:45
<
adrien >
I had misread the username above :D
15:46
<
ygrek >
not by me, it's an adaptation of a well-known technique
15:46
<
adrien >
you can probably find links in the caml-list
15:47
BitPuffin has quit [Read error: Operation timed out]
15:47
avsm has quit [Ping timeout: 264 seconds]
15:48
<
ygrek >
objsize is the way to go for memleaks
15:48
nikki93 has joined #ocaml
15:48
<
ygrek >
also make sure you understand what are you leaking - ocaml heap or mallocs
15:51
ttamttam has quit [Quit: ttamttam]
15:52
<
toolslive >
it's ocaml heap.
15:52
mfp has joined #ocaml
15:53
ygrek has quit [Ping timeout: 246 seconds]
15:55
yminsky has quit [Quit: yminsky]
15:55
sepp2k has quit [Quit: Konversation terminated!]
16:02
nikki93 has quit [Remote host closed the connection]
16:10
dsheets_ has quit [Remote host closed the connection]
16:14
oriba has quit [Quit: oriba]
16:18
nze has joined #ocaml
16:19
yminsky has joined #ocaml
16:19
tianon has quit [Quit: "I'm a very important man. I've got a tower!"]
16:21
djcoin has quit [Quit: WeeChat 0.4.1]
16:24
wolfnn has joined #ocaml
16:24
tianon has joined #ocaml
16:24
tianon has quit [Changing host]
16:24
tianon has joined #ocaml
16:27
anderse has joined #ocaml
16:32
chambart has quit [Ping timeout: 252 seconds]
16:32
Xenasis has joined #ocaml
16:33
jonludlam has quit [Remote host closed the connection]
16:39
jonludlam has joined #ocaml
16:40
Kakadu has quit [Quit: Page closed]
16:44
tianon has quit [Quit: "I'm a very important man. I've got a tower!"]
16:45
boogie has joined #ocaml
16:49
yminsky has quit [Quit: yminsky]
16:51
tianon has joined #ocaml
17:01
jonludlam has quit [Remote host closed the connection]
17:02
nikki93 has joined #ocaml
17:03
shinnya has quit [Ping timeout: 264 seconds]
17:07
baz_ has joined #ocaml
17:07
nikki93 has quit [Ping timeout: 272 seconds]
17:10
<
def-lkb >
gasche: I agree, this sounds like a good idea. I will try to do that.
17:20
yezariaely has quit [Quit: Leaving.]
17:22
tulloch has quit [Ping timeout: 246 seconds]
17:31
peterbb has quit [Ping timeout: 272 seconds]
17:34
siddharthv has joined #ocaml
17:34
siddharthv has quit [Client Quit]
17:45
rand000 has joined #ocaml
17:48
rand000 has quit [Client Quit]
17:49
ollehar has quit [Ping timeout: 246 seconds]
17:50
nikki93 has joined #ocaml
17:50
Drup has quit [Read error: Operation timed out]
17:51
tulloch has joined #ocaml
17:52
ollehar has joined #ocaml
17:53
mcclurmc has quit [Remote host closed the connection]
17:53
<
smiler >
Anyone tried the (new) ocaml support for sublimerepl? I can run utop within it but I can't figure out how to get sending stuff to the repl buffer to work. Need to configure something for it to use utop instead of ocaml...
17:54
<
whitequark >
smiler: I wrote it
17:55
kyrylo has joined #ocaml
17:55
chrisdotcode_ has joined #ocaml
17:55
<
smiler >
Hopefully you can help me understand this then
17:56
chrisdotcode has quit [Ping timeout: 252 seconds]
17:56
<
whitequark >
*cough* actually, I have no idea
17:56
avsm has joined #ocaml
17:56
<
whitequark >
I'll try to dig in the source though
17:57
<
smiler >
whitequark: When I try to send something to it I just get "error: Cannot find REPL for 'ocaml'"
17:57
<
smiler >
Although utop is up and running
17:57
<
whitequark >
yeah, it will work if you use plain ocaml repl instead of utop repl
17:57
<
smiler >
I guess I need to map ocaml syntax to repl_ocaml_utop somehow
18:00
<
whitequark >
ok, fixed that, let me send a PR
18:01
klltkr has joined #ocaml
18:01
<
smiler >
Thanks a lot :)
18:04
mcclurmc has joined #ocaml
18:06
klltkr has quit [Client Quit]
18:07
yezariaely has joined #ocaml
18:10
Drup has joined #ocaml
18:10
<
smiler >
bbiaf, laundry
18:12
<
whitequark >
smiler: please open a bug on wuub/sublimerepl on that one and mention me in it
18:17
manizzle has quit [Ping timeout: 245 seconds]
18:26
thomasga has quit [Quit: Leaving.]
18:27
mcclurmc has quit [Remote host closed the connection]
18:27
mcclurmc has joined #ocaml
18:29
mcclurmc has quit [Remote host closed the connection]
18:30
_andre has quit [Quit: leaving]
18:32
Arsenik has joined #ocaml
18:33
toolslive has quit [Quit: Leaving]
18:35
nikki93 has quit [Remote host closed the connection]
18:36
troydm has quit [Quit: What is hope? That all of your wishes and all of your dreams come true? (C) Rau Le Creuset]
18:42
BitPuffin has joined #ocaml
18:42
chambart has joined #ocaml
18:45
nikki93 has joined #ocaml
18:54
AltGr has left #ocaml []
18:55
mildfate has joined #ocaml
18:56
thomasga has joined #ocaml
18:57
thomasga1 has joined #ocaml
18:57
thomasga has quit [Read error: Connection reset by peer]
18:57
Eyyub has joined #ocaml
19:01
thomasga1 has quit [Client Quit]
19:03
nikki93 has quit [Remote host closed the connection]
19:08
mcclurmc has joined #ocaml
19:12
troydm has joined #ocaml
19:16
avsm has quit [Quit: Leaving.]
19:17
mildfate has quit [Read error: Connection reset by peer]
19:17
mildfate1 has joined #ocaml
19:21
mcclurmc has quit [Remote host closed the connection]
19:23
nikki93 has joined #ocaml
19:27
mcclurmc has joined #ocaml
19:29
thomasga has joined #ocaml
19:31
iZsh has joined #ocaml
19:32
nikki93 has quit [Remote host closed the connection]
19:34
mildfate1 has quit [Quit: Leaving.]
19:38
iZsh has joined #ocaml
19:39
mort___ has joined #ocaml
19:42
nikki93 has joined #ocaml
19:47
yezariaely has quit [Quit: Leaving.]
19:50
nikki93 has quit [Read error: Connection reset by peer]
19:51
nikki93 has joined #ocaml
19:55
happy4crazy has joined #ocaml
19:55
happy4crazy has quit [Remote host closed the connection]
19:55
happy4crazy has joined #ocaml
19:56
jonludlam has joined #ocaml
19:57
psquid has left #ocaml []
20:00
Anarchos has joined #ocaml
20:02
rand000 has joined #ocaml
20:04
jonludlam has quit [Ping timeout: 248 seconds]
20:07
nikki93 has quit [Remote host closed the connection]
20:12
tane has joined #ocaml
20:14
nikki93 has joined #ocaml
20:17
pango has quit [Ping timeout: 252 seconds]
20:19
pango has joined #ocaml
20:27
anderse has quit [Quit: anderse]
20:28
klltkr has joined #ocaml
20:30
manud_ has joined #ocaml
20:31
nikki93 has quit [Remote host closed the connection]
20:41
baz_ has quit [Remote host closed the connection]
20:46
osa1 has joined #ocaml
20:57
Sim_n has joined #ocaml
20:57
jonludlam has joined #ocaml
20:59
Anarchos has quit [Quit: Vision[0.9.7-H-280704]: i've been blurred!]
21:01
Simn has quit [Ping timeout: 252 seconds]
21:06
nikki93 has joined #ocaml
21:07
thomasga has quit [Quit: Leaving.]
21:15
Eyyub has quit [Ping timeout: 248 seconds]
21:16
Eyyub has joined #ocaml
21:26
ollehar has quit [Ping timeout: 246 seconds]
21:28
nikki93 has quit [Remote host closed the connection]
21:31
Sim_n is now known as Simn
21:41
nikki93 has joined #ocaml
21:42
nikki93 has quit [Remote host closed the connection]
21:45
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:46
klltkr has joined #ocaml
21:48
nikki93 has joined #ocaml
21:49
nikki93 has quit [Remote host closed the connection]
21:52
mcclurmc has quit [Remote host closed the connection]
21:53
mcclurmc has joined #ocaml
21:54
Arsenik has quit [Remote host closed the connection]
21:55
t0yv0 has quit [Ping timeout: 250 seconds]
21:55
happy4crazy has quit [Remote host closed the connection]
21:56
strobegen has quit [Quit: Leaving.]
21:56
happy4crazy has joined #ocaml
21:58
mcclurmc has quit [Ping timeout: 272 seconds]
21:59
rand000 has quit [Quit: leaving]
22:05
chambart has quit [Ping timeout: 252 seconds]
22:08
mildfate has joined #ocaml
22:09
darkf has joined #ocaml
22:14
Eyyub has quit [Ping timeout: 264 seconds]
22:14
gour has quit [Quit: WeeChat 0.4.2]
22:14
Eyyub has joined #ocaml
22:16
tane has quit [Quit: Verlassend]
22:23
Eyyub has quit [Ping timeout: 272 seconds]
22:24
Eyyub has joined #ocaml
22:24
manizzle has joined #ocaml
22:24
manud_ has quit [Quit: Leaving]
22:32
chambart has joined #ocaml
22:32
avsm has joined #ocaml
22:37
tulloch has quit [Ping timeout: 240 seconds]
22:43
mcclurmc has joined #ocaml
22:44
stevespiegel has joined #ocaml
22:50
aa47f8 has quit [Quit: aa47f8]
22:51
strobegen has joined #ocaml
22:51
dramas has quit [Quit: :(]
22:52
derek_c has joined #ocaml
22:56
Simn has quit [Quit: Leaving]
22:56
derek_c has quit [Client Quit]
22:57
Eyyub has quit [Ping timeout: 272 seconds]
22:58
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:59
happy4crazy has quit [Remote host closed the connection]
23:02
mcclurmc has quit [Remote host closed the connection]
23:03
BitPuffin has quit [Ping timeout: 272 seconds]
23:04
happy4crazy has joined #ocaml
23:05
mcclurmc has joined #ocaml
23:05
mcclurmc has quit [Remote host closed the connection]
23:07
peddie has quit [Ping timeout: 245 seconds]
23:10
mcclurmc has joined #ocaml
23:11
Eyyub has joined #ocaml
23:11
mcclurmc has quit [Remote host closed the connection]
23:12
peddie has joined #ocaml
23:14
patojo has joined #ocaml
23:14
boogie has quit [Read error: Connection reset by peer]
23:17
Eyyub has quit [Ping timeout: 248 seconds]
23:19
Eyyub has joined #ocaml
23:21
wolfnn has quit [Read error: Operation timed out]
23:25
Eyyub has quit [Ping timeout: 248 seconds]
23:27
chambart has quit [Ping timeout: 252 seconds]
23:27
Eyyub has joined #ocaml
23:28
happy4crazy has quit [Remote host closed the connection]
23:33
nikki93 has joined #ocaml
23:39
tulloch has joined #ocaml
23:50
madroach has quit [Ping timeout: 264 seconds]
23:51
madroach has joined #ocaml
23:56
NoNNaN has quit [Remote host closed the connection]