00:02
beckerb has quit [Ping timeout: 264 seconds]
00:04
nickmeharry has quit [Ping timeout: 252 seconds]
00:07
nickmeharry has joined #ocaml
00:10
fayden has joined #ocaml
00:29
middayc has quit [Quit: Lost terminal]
00:34
TDJACR has quit [Ping timeout: 255 seconds]
00:35
RagingDave has quit [Quit: Ex-Chat]
00:58
lolcathost has quit [Quit: brb gaize]
01:00
Automorphism has joined #ocaml
01:05
nickmeharry has quit [Quit: Leaving.]
01:07
Oejet has quit [Quit: Leaving.]
01:10
Automorphism is now known as lolcathost
01:11
suyu has quit [Ping timeout: 255 seconds]
01:14
milosn_ has quit [Ping timeout: 240 seconds]
01:14
suyu has joined #ocaml
01:16
milosn has joined #ocaml
01:18
nickmeharry has joined #ocaml
01:19
madroach has quit [Ping timeout: 244 seconds]
01:40
lolcathost has quit [Quit: WeeChat 0.3.9.2]
01:43
flx_ has joined #ocaml
01:43
weie has joined #ocaml
01:43
emias_ has joined #ocaml
01:43
Qrntz_ has joined #ocaml
01:44
jonafan_ has joined #ocaml
01:44
fraggle__ has joined #ocaml
01:44
fraggle_ has quit [*.net *.split]
01:44
Qrntz has quit [*.net *.split]
01:44
flux has quit [*.net *.split]
01:44
jonafan has quit [*.net *.split]
01:44
emias has quit [*.net *.split]
01:45
Qrntz_ is now known as Qrntz
01:45
flx_ is now known as flux
01:49
nickmeharry1 has joined #ocaml
01:49
lolcathost has joined #ocaml
01:49
lolcathost is now known as Guest86792
01:50
Guest86792 has quit [Client Quit]
01:51
madroach has joined #ocaml
01:52
nickmeharry has quit [Ping timeout: 248 seconds]
01:58
lolcathost has joined #ocaml
02:09
mye has joined #ocaml
02:09
nickmeharry1 has quit [Quit: Leaving.]
02:13
nickmeharry has joined #ocaml
02:29
nickmeharry has quit [Quit: Leaving.]
02:31
xavierm02 has quit [Quit: Leaving]
02:32
nickmeharry has joined #ocaml
02:32
nickmeharry has quit [Client Quit]
02:32
hongboz has quit [Ping timeout: 276 seconds]
02:47
nickmeharry has joined #ocaml
02:52
milosn has quit [Ping timeout: 248 seconds]
03:04
nickmeharry has quit [Quit: Leaving.]
03:05
milosn has joined #ocaml
03:06
nickmeharry has joined #ocaml
03:13
nickmeharry has quit [Quit: Leaving.]
03:16
nickmeharry has joined #ocaml
04:02
iratsu is now known as alang_
04:21
weie has quit [Quit: Leaving...]
04:27
weie has joined #ocaml
04:58
Yoric has joined #ocaml
04:58
Yoric has quit [Client Quit]
04:58
Yoric has joined #ocaml
05:17
BiDOrD has joined #ocaml
05:19
BiDOrD_ has quit [Ping timeout: 255 seconds]
05:27
ulfdoz has quit [Ping timeout: 264 seconds]
05:30
jewel has joined #ocaml
05:31
jave has quit [Ping timeout: 265 seconds]
05:34
Yoric has quit [Ping timeout: 246 seconds]
05:35
jave has joined #ocaml
05:45
julm has left #ocaml []
06:03
Yoric has joined #ocaml
06:20
jewel has quit [Ping timeout: 255 seconds]
06:22
mye has quit [Quit: mye]
06:27
gour has joined #ocaml
06:29
ulfdoz has joined #ocaml
06:34
nickmeharry has quit [Quit: Leaving.]
06:38
Yoric has quit [Remote host closed the connection]
06:38
Yoric has joined #ocaml
06:48
Kakadu has joined #ocaml
06:50
milosn has quit [Ping timeout: 260 seconds]
07:08
djcoin has joined #ocaml
07:18
Submarine has joined #ocaml
07:20
mika1 has joined #ocaml
07:20
cago has joined #ocaml
07:26
jbrown has joined #ocaml
07:41
mye has joined #ocaml
07:45
thomasga has joined #ocaml
07:52
emias_ has quit [Quit: Changing server]
07:53
emias has joined #ocaml
08:05
ImAlsoGreg has quit [Ping timeout: 255 seconds]
08:05
ImAlsoGreg has joined #ocaml
08:05
matthewt has quit [Ping timeout: 244 seconds]
08:05
thelema has quit [Ping timeout: 276 seconds]
08:06
Obfuscate has quit [Ping timeout: 244 seconds]
08:06
ski has quit [Ping timeout: 244 seconds]
08:06
matthewt has joined #ocaml
08:07
ski has joined #ocaml
08:08
thelema has joined #ocaml
08:15
Yoric has quit [Ping timeout: 246 seconds]
08:16
Cyanure has joined #ocaml
08:18
ontologiae has joined #ocaml
08:19
Obfuscate has joined #ocaml
08:22
nickmeharry has joined #ocaml
08:27
nickmeharry has quit [Ping timeout: 255 seconds]
08:32
milosn has joined #ocaml
08:44
RagingDave has joined #ocaml
08:45
ttamttam has quit [Quit: ttamttam]
08:45
_andre has joined #ocaml
08:54
lolcathost has quit [Ping timeout: 260 seconds]
09:10
ImAlsoGreg has quit [Ping timeout: 255 seconds]
09:10
ImAlsoGreg has joined #ocaml
09:16
myx has joined #ocaml
09:17
Kakadu has quit [Remote host closed the connection]
09:20
ttamttam has joined #ocaml
09:21
milosn has quit [Read error: Operation timed out]
09:22
Kakadu has joined #ocaml
09:26
lolcathost has joined #ocaml
09:31
milosn has joined #ocaml
09:36
xavierm02 has joined #ocaml
09:39
mika1 has quit [Quit: Leaving.]
09:46
nickmeharry has joined #ocaml
09:47
ontologiae has quit [Ping timeout: 264 seconds]
09:48
Yoric has joined #ocaml
09:48
ontologiae has joined #ocaml
09:49
<
flux >
woo, batteries 2.0, I wonder if it breaks my pre-batteries-2.0-code :)
09:51
beckerb has joined #ocaml
09:53
suyu has quit [Quit: suyu]
09:54
ontologiae has quit [Read error: Connection reset by peer]
09:59
ontologiae has joined #ocaml
10:04
ttamttam has quit [Quit: ttamttam]
10:05
beckerb has quit [Ping timeout: 240 seconds]
10:11
ontologiae has quit [Ping timeout: 276 seconds]
10:13
ontologiae has joined #ocaml
10:15
suyu has joined #ocaml
10:20
rixed has joined #ocaml
10:21
<
xavierm02 >
can someone please remind me the definition of |>?
10:22
<
xavierm02 >
never mind
10:22
<
xavierm02 >
let (|>) v f = f v
10:26
Submarine has quit [Ping timeout: 265 seconds]
10:32
Yoric has quit [Ping timeout: 252 seconds]
10:37
<
Qrntz >
xavierm02, there's an optimized primitive in >4.00.0, its definition is «external ( |> ) : 'a -> ('a -> 'b) -> 'b = "%revapply"»
10:39
mika1 has joined #ocaml
10:44
mika1 has quit [Client Quit]
10:47
rixed has quit [Remote host closed the connection]
10:52
chambart has joined #ocaml
10:54
mika1 has joined #ocaml
10:55
tane has joined #ocaml
10:56
Submarine has joined #ocaml
10:59
Yoric has joined #ocaml
11:04
eni has joined #ocaml
11:12
rixed has joined #ocaml
11:15
myx has quit [Ping timeout: 255 seconds]
11:18
Yoric has quit [Ping timeout: 252 seconds]
11:30
suyu has quit [Quit: suyu]
11:31
myx has joined #ocaml
11:32
myx_ has joined #ocaml
11:36
myx has quit [Ping timeout: 255 seconds]
11:39
lolcathost has quit [Quit: brb gaize]
11:40
lolcathost has joined #ocaml
11:42
eni is now known as albacker
11:42
albacker has quit [Changing host]
11:42
albacker has joined #ocaml
11:44
albacker is now known as eni
12:08
jamii has joined #ocaml
12:16
nickmeharry has quit [Quit: Leaving.]
12:39
andreypopp has joined #ocaml
12:39
andreypopp has quit [Excess Flood]
12:39
<
xavierm02 >
Qrntz ty :)
12:39
andreypopp has joined #ocaml
12:40
andreypopp has quit [Excess Flood]
12:54
mye has quit [Quit: mye]
12:57
q66 has joined #ocaml
12:57
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
12:57
Playground has joined #ocaml
12:58
Playground is now known as lolcathost
13:09
<
thelema >
flux: yes, but probably only a little breakage, depending on what you're using. And the point of 2.0 is that it's not backwards compatible.
13:10
lusory has joined #ocaml
13:10
<
flux >
thelema, I just wish there won't be silent incompatibility
13:15
thelema has quit [Ping timeout: 255 seconds]
13:16
thelema has joined #ocaml
13:21
<
troydm >
is there a function that takes a function and two parameters and apply's them in reversed order?
13:21
<
troydm >
builtin i mean
13:21
<
thelema >
troydm: let flip f x y = f y x
13:21
<
thelema >
nothing builtin
13:21
<
flux >
(batteries has that function)
13:21
<
thelema >
trivial to define and possibly dangerous (to readers of your code) to use
13:23
jewel has joined #ocaml
13:34
bobzhang has joined #ocaml
13:39
mye has joined #ocaml
13:39
mye has quit [Client Quit]
13:53
hto has joined #ocaml
14:04
nickmeharry has joined #ocaml
14:08
nickmeharry has quit [Ping timeout: 248 seconds]
14:17
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
14:17
lolcathost has joined #ocaml
14:19
\rs has joined #ocaml
14:20
<
\rs >
which class type is more general, class type c1 = object method m : c1 end;; or class type c2 = object ('a) method m : 'a end;; ?
14:32
Oejet has joined #ocaml
14:33
jbrown has quit [Ping timeout: 260 seconds]
14:38
yroeht has quit [Ping timeout: 255 seconds]
14:42
Cyanure has quit [Remote host closed the connection]
14:51
jewel has quit [Ping timeout: 248 seconds]
14:56
<
thelema >
\rs: is the second class type inhabited by any values? Doesn't the 'a need to percolate out to the class type (i.e. 'a c2)
14:57
<
thelema >
hmm, it doesn't... but then the method m must return a value that's of any type
15:00
<
\rs >
the latter is more general as its domain is more general?
15:00
<
thelema >
is there any valid value of the second type?
15:01
<
thelema >
oh, n/m, now I remember what that ('a) is
15:01
<
thelema >
the latter is more general.
15:02
<
thelema >
the return value of m is the dynamic type of the object as opposed to the sttaic type c1
15:02
cago has left #ocaml []
15:02
mika1 has quit [Quit: Leaving.]
15:05
alxbl has joined #ocaml
15:06
alxbl has quit [Changing host]
15:06
alxbl has joined #ocaml
15:08
<
thelema >
it's a bit tricky to understand how objects are typed in ocaml; one surprising thing is that there's
*no* automatic downcasts. The other is that there's a big difference between a closed object type and an open one.
15:11
gnuvince_ has joined #ocaml
15:11
<
orbitz >
hey gnuvince_
15:13
gnuvince has quit [Ping timeout: 245 seconds]
15:23
jbrown has joined #ocaml
15:25
myx_ has quit [Read error: Connection reset by peer]
15:35
Yoric has joined #ocaml
15:39
yroeht has joined #ocaml
15:41
myx_ has joined #ocaml
15:43
Yoric has quit [Ping timeout: 252 seconds]
15:47
myx_ has quit [Read error: Connection reset by peer]
15:49
lolcathost has quit [Ping timeout: 276 seconds]
15:50
djcoin has quit [Quit: WeeChat 0.3.9.2]
15:56
lolcathost has joined #ocaml
15:56
smondet has joined #ocaml
15:59
thomasga has quit [Quit: Leaving.]
16:01
milosn has quit [Remote host closed the connection]
16:02
fraggle_laptop has quit [Remote host closed the connection]
16:03
tac has joined #ocaml
16:21
Yoric has joined #ocaml
16:30
flixr has joined #ocaml
16:30
<
flixr >
I was wondering if someone could help me out with xml-light and ocaml 4
16:30
<
orbitz >
You'll have to ask a question first
16:31
<
tac >
orbitz: Isn't that technically a question :P
16:31
<
flixr >
I installed ocaml 4 for the raspberry pi and then built/installed xml-light via opam
16:31
<
tac >
err, I guess not
16:31
<
adrien >
xml-light is old, buggy and unmaintained
16:31
<
flixr >
so far so good
16:31
<
adrien >
I know, I'm a dream-crusher
16:31
<
flixr >
it works in the normal debian version, but in the opam version it write extra parsing stuff to stdout on Xml.file_read
16:32
<
flixr >
what xml lib would you recommend instead?
16:32
<
adrien >
pxp, xmlm, and I'm sure there are others
16:32
pango_ has joined #ocaml
16:32
<
flixr >
just for the future... we have been using xml-light for years without problems... but if that problem persists we might need to switch
16:33
eni has quit [Ping timeout: 246 seconds]
16:35
pango has quit [Ping timeout: 260 seconds]
16:35
<
adrien >
xml-light isn't terribly buggy but it has some things here and there
16:36
thomasga has joined #ocaml
16:36
ontologiae has quit [Read error: Connection reset by peer]
16:37
<
flixr >
yeah, just wondering why it works with ocaml 3.12 and the debian package, but not with ocaml 4 and the opam xml-light
16:37
<
hcarty >
flixr: Debian may be applying patches to the xml-light package
16:38
<
flixr >
let x = Xml.parse_file "myfile.xml" in
16:38
<
flixr >
this will already print stuff to stdout
16:40
<
flixr >
true, will check
16:41
ontologiae has joined #ocaml
16:45
jbrown has quit [Ping timeout: 255 seconds]
16:47
tac is now known as tac-lunch
16:50
jonafan_ is now known as jonafan
16:53
jbrown has joined #ocaml
16:56
Cyanure has joined #ocaml
16:56
ontologiae has quit [Ping timeout: 276 seconds]
16:59
nickmeharry has joined #ocaml
17:03
mcclurmc_away is now known as mcclurmc
17:04
thomasga has quit [Quit: Leaving.]
17:15
mcclurmc is now known as mcclurmc_away
17:15
pango_ is now known as pango
17:18
<
flixr >
hcarty, thanks for the tip
17:18
<
flixr >
found the relevant debian patch
17:18
<
flixr >
any opam maintainers here?
17:18
<
thelema >
flixr: you just missed thomasga
17:19
<
flixr >
should I provide a patch for this?
17:19
<
thelema >
try sending the patch to the xml-light authors?
17:20
<
madroach >
thelema: hi, where can I get the 'qtest' executable, the current batteries requires for testing?
17:20
<
flixr >
will probably take a while until this get's through then... would rather patch it soon in opam (just like in debian) so we can use it right away..
17:21
<
thelema >
flixr: you can make a local copy of the opam package repo with your patch in it
17:22
<
flixr >
ok thx, will have a look at how to do that
17:22
<
thelema >
it should be just cloning the repo and then pointing opam at the clone
17:23
chambart has quit [Ping timeout: 260 seconds]
17:23
<
flixr >
yeah, that part is straight forward... have to figure out how to apply patches in opam though
17:24
weie has quit [Quit: Leaving...]
17:24
<
thelema >
example for you to use
17:27
milosn has joined #ocaml
17:32
<
Qrntz >
what does ocamlobjinfo mean by «(closed)» exactly?
17:32
<
Qrntz >
«(inline)» I can understand, but «(closed)»…
17:32
<
thelema >
what context? a function?
17:33
weie has joined #ocaml
17:33
<
thelema >
hmm, got me.
17:33
<
Qrntz >
12: function camlArray__map_1058 arity 2 (closed) -> _;
17:33
<
Qrntz >
not like there's any documentation on the tool either
17:33
<
thelema >
something about how it's called, maybe?
17:34
<
Qrntz >
it also appears in functor context
18:03
_andre has quit [Quit: leaving]
18:16
myx has joined #ocaml
18:18
tac-lunch is now known as tac
18:21
lolcathost has quit [Ping timeout: 265 seconds]
18:33
<
adrien >
flexdll is a pita for cross-compilation
18:34
jbrown has quit [Ping timeout: 265 seconds]
18:35
<
tac >
Why are functors called functors in Ocaml?
18:36
<
tac >
Are they related to category theory functors?
18:39
flx_ has joined #ocaml
18:41
flux has quit [Ping timeout: 240 seconds]
18:41
flx_ is now known as flux
18:41
jbrown has joined #ocaml
18:44
<
orbitz >
tac: I don't believe they are
18:44
<
orbitz >
Just sounds badass?
18:46
jewel has joined #ocaml
18:47
gour has quit [Quit: WeeChat 0.3.8]
19:09
jamii has quit [Quit: Leaving]
19:10
jamii has joined #ocaml
19:10
eni has joined #ocaml
19:16
fraggle__ has quit [Remote host closed the connection]
19:20
fraggle_ has joined #ocaml
19:30
<
adrien >
weeeeeeeee \o/
19:30
<
adrien >
depressing thing with software development: being stuck trying to build a single file during 5 days
19:40
jewel has quit [Ping timeout: 255 seconds]
19:46
tane has quit [Quit: Verlassend]
19:49
<
orbitz >
adrien: Nobody can solvethe errors?
19:50
<
adrien >
solved the flexlink issue pretty easily actually; got further with ocaml but not much
19:50
<
adrien >
the frustrating thing is that I get issues because of something that should never have been done in ocaml in the first place:
19:50
<
adrien >
have both "Makefile" and "Makefile.nt"
19:54
<
thelema >
adrien: which are you trying to use?
19:56
<
adrien >
thelema: Makefile; I need to use the output from configure
19:57
<
adrien >
one more step and I'll have ocamlrun.exe at least
20:01
milosn has quit [Ping timeout: 260 seconds]
20:01
<
flixr >
thx guys, got xml-light with opam working again :-)
20:12
milosn has joined #ocaml
20:15
<
adrien >
cp byterun/ocamlrun.exe boot/ocamlrun.exe
20:15
<
adrien >
IT HAS BUILT \o/
20:17
<
thelema >
adrien: but does it work? That was my experience not using Makefile.nt; I might be able to finagle it to build, but not to work right
20:18
<
adrien >
well, I'll probably need some more weeks before I make it build completely; having it work is a much longer-term goal :P
20:18
<
adrien >
(actually I just noticed something bad)
20:18
<
adrien >
boot/ocamlrun boot/ocamlc -nostdlib -I boot -strict-sequence -w +33..39 -warn-error A -I utils -I parsing -I typing -I bytecomp -I asmcomp -I driver -I toplevel -c toplevel/genprintval.ml
20:18
<
adrien >
can't be the boot/ocamlrun I've cross-compiled obviously
20:19
<
adrien >
I had built natively first, meh
20:20
eni has quit [Ping timeout: 240 seconds]
20:21
eni has joined #ocaml
20:27
weie has quit [Quit: Leaving...]
20:56
eni has quit [Quit: Leaving]
20:57
bobzhang has quit [Remote host closed the connection]
20:58
bobzhang has joined #ocaml
20:58
jamii has quit [Read error: Connection reset by peer]
20:59
watermind has quit [Read error: Connection reset by peer]
20:59
watermind has joined #ocaml
21:01
<
xavierm02 >
"Note For this documentation, we will assume the existence of a lazy list syntax extension such that [^ ^] is the empty lazy list and [^ a;b;c ^] is the lazy list containing elements a, b, c."
21:02
<
xavierm02 >
how do I do that?
21:02
<
xavierm02 >
this language extension
21:02
<
xavierm02 >
and will i be able to use it in match
21:02
<
xavierm02 >
or just to create lists?
21:02
<
tac >
Is there any kind of adhoc polymorphism and/or operator overloading in Ocaml?
21:03
<
thelema >
string noc_router_id = IntToString("dec", 0, noc_id) + "_" + IntToString("dec", 0, rid);
21:03
<
thelema >
err, not that paste
21:04
<
xavierm02 >
so it's installed with the rest of batteries
21:04
<
thelema >
not the same syntax, and not in 2.0
21:05
watermind has quit [Quit: Konversation terminated!]
21:05
<
thelema >
also, just matching on lazy lists, no [^ ^] constructor
21:05
watermind has joined #ocaml
21:06
<
xavierm02 >
I don't even see the point of a constructor anyway :o
21:07
dsheets1 has quit [Remote host closed the connection]
21:08
dsheets has joined #ocaml
21:08
gnuvince_ has quit [Ping timeout: 276 seconds]
21:09
gnuvince_ has joined #ocaml
21:12
<
xavierm02 >
I really have no idea how this works
21:12
<
xavierm02 >
how do I get ocamlbuild to read it?
21:12
<
thelema >
xavierm02: lazy lists?
21:13
<
xavierm02 >
the language extension
21:13
<
thelema >
oh, the pa_
21:13
<
thelema >
compile to .cmo and use with pp(), but I don't know the details
21:13
<
thelema >
and need to get something else done now, so can't research them.
21:14
<
thelema >
if (g.is_virtual(virtual_router_id)) continue;
21:14
<
thelema >
grr, more bad pastes
21:21
<
flux >
cool, batteries 2 uses @@ for composition, just like I used to :)
21:21
<
flux >
I didn't much have love for **>..
21:22
<
flux >
(actually not for composition but for applying)
21:25
<
xavierm02 >
Error: Unbound module Ocamlbuild_plugin
21:25
<
xavierm02 >
guess I'll do without the syntax extension
21:28
Yoric has quit [Ping timeout: 252 seconds]
21:52
jbrown has quit [Quit: Client exiting]
21:53
smondet has quit [Remote host closed the connection]
22:00
ontologiae has joined #ocaml
22:06
xavierm02 has quit [Quit: Leaving]
22:08
suyu has joined #ocaml
22:11
Reventlov has quit [Quit: leaving]
22:26
suyu has quit [Quit: suyu]
22:26
Cyanure has quit [Remote host closed the connection]
22:29
chambart has joined #ocaml
22:35
milosn has quit [Ping timeout: 255 seconds]
22:36
milosn has joined #ocaml
22:42
milosn has quit [Ping timeout: 260 seconds]
22:55
ontologiae has quit [Ping timeout: 260 seconds]
22:59
technomancy has joined #ocaml
23:00
RagingDave has quit [Read error: Connection reset by peer]
23:01
<
technomancy >
what's a good library for HTML generation? thinking of doing static site generation.
23:02
tac has quit [Ping timeout: 245 seconds]
23:09
chambart has quit [Ping timeout: 246 seconds]
23:17
ontologiae has joined #ocaml
23:23
jamii has joined #ocaml
23:39
jamii has quit [Ping timeout: 276 seconds]