00:23
ccasin has joined #ocaml
00:30
slash_ has quit [Quit: leaving]
00:30
slash_ has joined #ocaml
00:46
slash_ has quit [Quit: Lost terminal]
00:48
slash_ has joined #ocaml
00:52
mjonsson has joined #ocaml
00:53
mutew has joined #ocaml
01:05
seafood has joined #ocaml
01:05
boscop has quit [Read error: Connection reset by peer]
01:09
tmaeda is now known as tmaedaZ
01:09
seafood has quit [Ping timeout: 264 seconds]
01:23
Smerdyakov has quit [Quit: Leaving]
01:23
seafood has joined #ocaml
01:27
seafood has quit [Ping timeout: 258 seconds]
01:32
Drk-Sd has quit [Quit: {'EXIT', Drk-Sd, "bye"}]
02:00
slash_ has quit [Quit: Lost terminal]
02:29
bzzbzz has quit [Quit: leaving]
02:34
elehack has joined #ocaml
02:43
maskd has quit [Quit: leaving]
02:45
<
elehack >
thelema, I've created a 'doc-fixes' branch on my Batteries fork for documentation fixes I find to make.
02:45
<
elehack >
it should be safe to pull from any time.
02:55
<
thelema >
elehack: would you object to having commit access to the main batteries branch?
02:56
<
elehack >
that'd be fine with me.
02:58
<
thelema >
done. It should be straightforward to commit to github batteries now.
03:00
<
elehack >
ok. I'll just push my doc fixes directly then and save the extra overhead (and commit ID rewriting...) that occurs with the fork.
03:10
<
thelema >
commit ID rewriting? It should be transparent.
03:10
<
thelema >
but there is a bit of overhead on my end. Not that I mind reading batteries commits.
03:15
<
elehack >
when you pull commits with github's fork queue, it seems to create a new commit with a new ID sometimes.
03:15
<
elehack >
I suspect due to changing the Commiter field.
03:15
<
elehack >
I saw this with the FAQ update commit.
03:19
<
thelema >
ah. I'll use that less, and merge/rebase more.
03:23
<
elehack >
sounds good. i'm off for the night now, appreciate your good work on moving Batteries forward.
03:23
<
thelema >
I appreciate your patches. You're helping move batteries forward too.
03:24
elehack has quit [Quit: EGOODNIGHT]
03:34
seafood has joined #ocaml
03:39
seafood has quit [Ping timeout: 252 seconds]
03:46
ccasin has quit [Quit: Leaving]
04:09
thrasibule has joined #ocaml
04:20
Mr_Awesome has quit [Read error: Connection reset by peer]
04:23
tmaedaZ is now known as tmaeda
04:34
mutew has quit [Quit: leaving]
04:37
Mr_Awesome has joined #ocaml
04:53
f[x] has quit [Ping timeout: 245 seconds]
05:07
Amorphous has quit [Read error: Operation timed out]
05:16
jonrafkind has joined #ocaml
05:25
Amorphous has joined #ocaml
05:36
Gooffy has joined #ocaml
05:37
thrasibule has joined #ocaml
05:55
ulfdoz has joined #ocaml
05:57
<
jonrafkind >
has anyone tried to build an ocaml library with scons?
06:05
mjonsson has quit [Ping timeout: 260 seconds]
06:23
Submarine has joined #ocaml
06:40
mjonsson has joined #ocaml
06:43
jonrafkind has quit [Ping timeout: 276 seconds]
07:04
ulfdoz has quit [Read error: Operation timed out]
07:18
yakischloba has quit [Quit: Leaving.]
07:20
<
Gertm >
I'm learning ocamlnet but I can't figure out how to create new in_obj_channel or out_obj_channel.
07:24
_zack has joined #ocaml
07:25
<
flux >
gertm, did you take a look at class Netchannels.input_channel?
07:25
<
Gertm >
aha, lemme check that out
07:25
<
Gertm >
doh, how could I have missed that?
07:26
<
flux >
well, atleast it doesn't match '-> in_obj_channel' which I grepped for first ;)
07:28
<
Gertm >
so why isn't there a simple ip:port -> in_obj_channel,out_obj_channel function?
07:30
<
Gertm >
it's stuff like that that makes it hard for newbies to grasp this stuff
07:30
<
Gertm >
maybe I should write a little howto once I get it running
07:31
<
flux >
good idea :)
07:32
<
Gertm >
make sure you read it, so I can get the errors out :p
07:32
<
flux >
I guess it's not simple to write network programs in ocaml if you don't know BSD sockets API
07:32
<
flux >
I haven't used ocamlnet for that, so I don't know if it eases the task
07:32
<
flux >
atleast it doesn't appear to mention sockaddr in a helpful context
07:34
tmaeda is now known as tmaedaZ
07:37
<
Gertm >
ok, what do I need again to access the netstring library? what do I need to #require ?
07:37
<
Gertm >
This stuff still is a little hazy
07:38
<
Gertm >
Error: Unbound value Netstring.Netchannels.input_channel
07:38
<
Gertm >
I did #require "netsys" and #require "netclient"
07:44
<
Gertm >
heh I #require'd everything I could find in ocamlnet and I still can't use it
07:50
dark has quit [Remote host closed the connection]
08:07
Submarine has quit [Ping timeout: 240 seconds]
08:12
seafood has joined #ocaml
08:12
<
flux >
it's just Netchannels
08:12
<
flux >
not Netstring.Netchannels
08:12
<
flux >
the package name doesn't necessary reflect to the module names
08:13
<
flux >
want to see the list of top-level modules provided by a module? usually this works: ls -l $(ocamlfind query foo)/*.cmi
08:13
<
flux >
btw, often they are accompanied with the corresponding mli-file for reference
08:22
jonafan_ has quit [Read error: Connection reset by peer]
08:23
_zack has quit [Quit: Leaving.]
08:25
Modius has quit [Quit: I'm big in Japan]
08:36
<
Gertm >
Error: Unbound value input_channel
08:37
<
Gertm >
after opening Netchannels
08:40
<
Gertm >
ah, it's a class, not a function
08:45
jknick has joined #ocaml
08:53
ikaros has joined #ocaml
08:54
_zack has joined #ocaml
09:02
Yoric has joined #ocaml
09:06
jcaose has joined #ocaml
09:15
seafood has quit [Quit: seafood]
09:18
pimmhogeling has joined #ocaml
09:33
pimmhogeling has quit [Remote host closed the connection]
10:02
jcaose has quit [Read error: Connection reset by peer]
10:02
munga_ has joined #ocaml
10:12
th5 has joined #ocaml
10:29
pimmhogeling has joined #ocaml
10:40
slash_ has joined #ocaml
10:46
_andre has joined #ocaml
10:50
tmaedaZ is now known as tmaeda
11:07
joewilliams is now known as joewilliams_away
11:16
maskd has joined #ocaml
11:38
ikaros has quit [Quit: Leave the magic to Houdini]
11:52
tmaeda is now known as tmaedaZ
11:56
munga_ has quit [Ping timeout: 246 seconds]
11:57
seafood has joined #ocaml
12:05
rwmjones has left #ocaml []
12:26
Drk-Sd has joined #ocaml
12:32
Submarine has joined #ocaml
12:49
tmaedaZ is now known as tmaeda
12:50
Submarine_ has joined #ocaml
12:54
tmaeda is now known as tmaedaZ
12:55
Submarine_ has quit [Quit: Leaving]
13:08
seafood has quit [Quit: seafood]
13:09
seafood has joined #ocaml
13:13
pimmhogeling has quit [Ping timeout: 248 seconds]
13:19
boscop has joined #ocaml
13:24
sysop_fb has joined #ocaml
13:29
bzzbzz has joined #ocaml
13:34
mutew has joined #ocaml
13:41
avsm has joined #ocaml
13:42
rwmjones has joined #ocaml
13:49
thrasibule has quit [Ping timeout: 252 seconds]
13:53
seafood has quit [Quit: seafood]
14:04
tmaedaZ is now known as tmaeda
14:05
tab has quit [Ping timeout: 260 seconds]
14:06
Gooffy has quit [Quit: Leaving.]
14:17
det has quit [Ping timeout: 276 seconds]
14:21
Snark has joined #ocaml
14:23
svenl has quit [Ping timeout: 256 seconds]
14:29
det has joined #ocaml
14:39
pimmhogeling has joined #ocaml
14:53
th5 has quit [Quit: th5]
15:29
joewilliams_away is now known as joewilliams
15:45
kaustuv has joined #ocaml
15:49
arturh has joined #ocaml
15:51
ikaros has joined #ocaml
15:52
ned has joined #ocaml
16:05
yakischloba has joined #ocaml
16:11
munga has quit [Ping timeout: 260 seconds]
16:18
<
hcarty >
Bitten again by the imperative enum! "let foo = 1 -- 10 in bar foo; baz foo"
16:19
_zack has quit [Quit: Leaving.]
16:21
noj has quit [Quit: leaving]
16:22
_zack has joined #ocaml
16:28
tmaeda is now known as tmaedaZ
16:31
<
hcarty >
flux: Seq.* can fill in for now, with "let ( -- ) a b = Seq.init (b - a + 1) (fun i -> a + i)"
16:34
Narrenschiff has joined #ocaml
16:53
<
flux >
is seq a new module? (I knew about it, but learned of it recently anyway)
16:53
ztfw has joined #ocaml
16:59
kaustuv has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
17:01
<
hcarty >
It was in Batteries-old, added some time during the development process there
17:07
avsm has quit [Quit: Leaving.]
17:09
noj has joined #ocaml
17:12
jonrafkind has joined #ocaml
17:17
jonafan has joined #ocaml
17:19
_zack has quit [Quit: Leaving.]
17:20
munga_ has joined #ocaml
17:20
<
thelema >
flux: it's pretty new - although I'm not sure exactly the reason we have both seq and LazyList
17:22
<
flux >
well, seq does have its advantages
17:22
<
flux >
but they are both sorf of lazy lists. actually it'd be nice if some kind of subtyping was involved :)
17:23
<
thelema >
seq is basically lazy lists but only as unit->list
17:24
sysop_fb has quit []
17:42
Yoric has quit [Quit: Yoric]
17:51
ztfw` has joined #ocaml
17:54
<
thelema >
I'm still thinking about how to have the best matching syntax for batteries' lazy lists.
17:55
ztfw has quit [Ping timeout: 276 seconds]
17:57
<
flux >
ahh, finally manual pages
17:57
<
flux >
batteries really should build/install them as well :)
17:57
<
flux >
what is the best way to contribute to batteries?
17:57
<
thelema >
fork the guthub project and commit to your fork.
17:58
<
flux >
guthub.. attractive name ;)
18:06
<
jonrafkind >
if I have a sub-directory with foo.ml in it can I somehow refer to foo.ml with its sub-directory as part of the path? something like 'open Sub.Foo' ?
18:06
munga_ has quit [Quit: Ex-Chat]
18:06
<
thelema >
nope, you have to -I sub/
18:08
<
jonrafkind >
well.. I gotta ask, how do people write large software systems in ocaml? a flat namespace for modules seems like a major annoyance
18:09
<
Camarade_Tux >
it's not flat ;-)
18:10
<
jonrafkind >
if I have a/x.ml and b/x.ml how do I distinguish which X module I want to open?
18:11
<
thelema >
You can't include both in a single project.
18:11
<
jonrafkind >
so how is the namespace not flat?
18:11
<
thelema >
within a single file, you can have submodules.
18:11
<
flux >
jonrafkind, you don't. however, you can make .cmo-files that build a hierarchy, do you can export your project in full as JonrafKind.{A,B}
18:12
<
thelema >
and you can do the packing thing that flux described
18:17
ulfdoz has joined #ocaml
18:56
rhar has joined #ocaml
18:59
Yoric has joined #ocaml
19:07
lokydor has joined #ocaml
19:07
lokydor has quit [Remote host closed the connection]
19:13
lokydor has joined #ocaml
19:20
_andre has quit [Quit: *puff*]
19:23
_zack has joined #ocaml
19:33
Snark has quit [Quit: Ex-Chat]
19:35
M| has quit [Ping timeout: 264 seconds]
19:35
travisbrady has joined #ocaml
19:37
_zack has quit [Ping timeout: 240 seconds]
20:03
<
bjorkintosh >
do the batteries come automatically with an apt-get ocaml?
20:05
<
flux >
I don't know if any debian-based distribution has it yet, infact
20:05
<
flux >
if anything, maybe debian unstable..
20:05
rhar has quit [Quit: This computer has gone to sleep]
20:05
joewilliams is now known as joewilliams_away
20:09
alp has joined #ocaml
20:10
Alpounet has quit [Read error: No route to host]
20:16
Narrenschiff has quit [Ping timeout: 246 seconds]
20:24
<
orbitz >
are batteries and core competing libraries?
20:26
<
Camarade_Tux >
in testing and unsable
20:26
<
Camarade_Tux >
unstableù
20:26
<
Camarade_Tux >
bleh
20:26
<
Camarade_Tux >
s/ù/*/
20:26
seafood has joined #ocaml
20:27
seafood has quit [Client Quit]
20:27
<
flux >
[ocaml-batteries_0.20090405+beta1.orig.tar.gz]
20:27
<
flux >
old stuff ;)
20:27
M| has joined #ocaml
20:27
<
Camarade_Tux >
he, hadn't check the time but you're absolutely right :o
20:36
execve has joined #ocaml
20:37
joewilliams_away is now known as joewilliams
20:41
Yoric has quit [Quit: Yoric]
20:43
_zack has joined #ocaml
20:48
lokydor has quit [Ping timeout: 245 seconds]
20:49
Submarine has quit [Ping timeout: 265 seconds]
20:53
alp has quit [Quit: ``Do what you think you can't do.'']
20:54
alp has joined #ocaml
21:02
Yoric has joined #ocaml
21:04
Yoric has quit [Client Quit]
21:04
Yoric has joined #ocaml
21:05
rhar has joined #ocaml
21:07
Modius has joined #ocaml
21:24
pad has joined #ocaml
21:24
Yoric has quit [Quit: Yoric]
21:25
pimmhogeling has quit [Ping timeout: 272 seconds]
21:28
pad has left #ocaml []
21:36
_zack has quit [Quit: Leaving.]
21:42
shr3kst3r has quit [Ping timeout: 256 seconds]
21:42
shr3kst3r has joined #ocaml
22:02
jonrafkind has quit [Read error: Connection reset by peer]
22:03
jonrafkind has joined #ocaml
22:04
jonrafkind has quit [Read error: Connection reset by peer]
22:04
jonrafkind has joined #ocaml
22:20
rhar has left #ocaml []
22:21
execve has quit [Ping timeout: 252 seconds]
22:24
ikaros_ has joined #ocaml
22:29
ikaros has quit [Ping timeout: 272 seconds]
22:30
M| has quit [Ping timeout: 252 seconds]
22:33
mutew has quit [Ping timeout: 246 seconds]
22:34
dark has joined #ocaml
22:41
M| has joined #ocaml
22:46
M| has quit [Ping timeout: 260 seconds]
22:48
jonrafkind has quit [Ping timeout: 265 seconds]
22:48
jonrafkind has joined #ocaml
22:48
jonrafkind has quit [Read error: Connection reset by peer]
22:49
mutew has joined #ocaml
22:51
ulfdoz has quit [Read error: Operation timed out]
22:52
M| has joined #ocaml
22:57
execve has joined #ocaml
23:10
seafood has joined #ocaml
23:10
avsm has joined #ocaml
23:19
seafood has quit [Quit: seafood]
23:32
jonrafkind has joined #ocaml
23:34
jonrafkind has quit [Read error: Connection reset by peer]
23:35
jonrafkind has joined #ocaml
23:38
Drk-Sd has quit [Quit: lol]
23:50
Narrenschiff has joined #ocaml
23:50
avsm has quit [Quit: Leaving.]