00:03
Morphous has joined #ocaml
00:06
<
Yoric[DT] >
Syntax extension packaged and ready for upload.
00:06
<
Yoric[DT] >
Now waiting for one last answer regarding licensing...
00:19
Amorphous has quit [Read error: 110 (Connection timed out)]
00:25
Theq629 has joined #ocaml
00:31
seafood_ has quit []
00:38
Proteus has joined #ocaml
00:42
Yoric[DT] has quit ["Ex-Chat"]
00:48
smimou has quit ["bli"]
00:48
Associat0r has quit []
01:36
qpu has joined #ocaml
02:09
<
context >
does ocaml have any type of local daemon to show the docs through a webbrowser
02:10
<
kmeyer >
web browsers can usually browse the local file system..
02:10
<
context >
is there a designated directory ocaml puts all the docs
02:11
<
kmeyer >
depends on the package I'd imagine
02:14
<
context >
gotcha, thnx
02:37
sergez_ has quit []
02:59
seafood_ has joined #ocaml
03:03
qwr has quit [calvino.freenode.net irc.freenode.net]
03:03
Hadaka has quit [calvino.freenode.net irc.freenode.net]
03:03
flux has quit [calvino.freenode.net irc.freenode.net]
03:03
Demitar has quit [calvino.freenode.net irc.freenode.net]
03:03
dobblego has quit [calvino.freenode.net irc.freenode.net]
03:03
netx has quit [calvino.freenode.net irc.freenode.net]
03:03
Sparkles has quit [calvino.freenode.net irc.freenode.net]
03:03
mbishop has quit [calvino.freenode.net irc.freenode.net]
03:03
RobertFischer has quit [calvino.freenode.net irc.freenode.net]
03:03
Oatskool has quit [calvino.freenode.net irc.freenode.net]
03:03
richardw has quit [calvino.freenode.net irc.freenode.net]
03:03
pippijn has quit [calvino.freenode.net irc.freenode.net]
03:03
mattam has quit [calvino.freenode.net irc.freenode.net]
03:03
seafood has quit [calvino.freenode.net irc.freenode.net]
03:03
Mr_Awesome has quit [calvino.freenode.net irc.freenode.net]
03:03
bebui has quit [calvino.freenode.net irc.freenode.net]
03:03
qpu has quit [calvino.freenode.net irc.freenode.net]
03:03
Theq629 has quit [calvino.freenode.net irc.freenode.net]
03:03
Smerdyakov has quit [calvino.freenode.net irc.freenode.net]
03:03
pattern has quit [calvino.freenode.net irc.freenode.net]
03:03
jdavis_ has quit [calvino.freenode.net irc.freenode.net]
03:03
DerDracle has quit [calvino.freenode.net irc.freenode.net]
03:03
unfo- has quit [calvino.freenode.net irc.freenode.net]
03:03
cmeme has quit [calvino.freenode.net irc.freenode.net]
03:03
kmeyer has quit [calvino.freenode.net irc.freenode.net]
03:03
gunark has quit [calvino.freenode.net irc.freenode.net]
03:03
jeremiah has quit [calvino.freenode.net irc.freenode.net]
03:03
jlouis_ has quit [calvino.freenode.net irc.freenode.net]
03:03
zmdkrbou has quit [calvino.freenode.net irc.freenode.net]
03:03
kreaturr has quit [calvino.freenode.net irc.freenode.net]
03:03
tsuyoshi has quit [calvino.freenode.net irc.freenode.net]
03:03
opening has quit [calvino.freenode.net irc.freenode.net]
03:03
acatout has quit [calvino.freenode.net irc.freenode.net]
03:03
seafood_ has quit [calvino.freenode.net irc.freenode.net]
03:03
wy has quit [calvino.freenode.net irc.freenode.net]
03:03
mordaunt has quit [calvino.freenode.net irc.freenode.net]
03:03
jeom has quit [calvino.freenode.net irc.freenode.net]
03:03
ecc has quit [calvino.freenode.net irc.freenode.net]
03:03
jcpiza has quit [calvino.freenode.net irc.freenode.net]
03:03
magnusj has quit [calvino.freenode.net irc.freenode.net]
03:03
|Catch22| has quit [calvino.freenode.net irc.freenode.net]
03:03
Proteus has quit [calvino.freenode.net irc.freenode.net]
03:03
bla has quit [calvino.freenode.net irc.freenode.net]
03:03
eroyf has quit [calvino.freenode.net irc.freenode.net]
03:03
pango has quit [calvino.freenode.net irc.freenode.net]
03:03
hcarty has quit [calvino.freenode.net irc.freenode.net]
03:03
TaXules has quit [calvino.freenode.net irc.freenode.net]
03:03
svenl has quit [calvino.freenode.net irc.freenode.net]
03:03
gim has quit [calvino.freenode.net irc.freenode.net]
03:03
__suri has quit [calvino.freenode.net irc.freenode.net]
03:03
noj has quit [calvino.freenode.net irc.freenode.net]
03:03
jonathanv has quit [calvino.freenode.net irc.freenode.net]
03:03
gaja has quit [calvino.freenode.net irc.freenode.net]
03:04
pango has joined #ocaml
03:04
seafood_ has joined #ocaml
03:04
qpu has joined #ocaml
03:04
Proteus has joined #ocaml
03:04
Theq629 has joined #ocaml
03:04
wy has joined #ocaml
03:04
Demitar has joined #ocaml
03:04
jlouis_ has joined #ocaml
03:04
Smerdyakov has joined #ocaml
03:04
pattern has joined #ocaml
03:04
zmdkrbou has joined #ocaml
03:04
mordaunt has joined #ocaml
03:04
jeom has joined #ocaml
03:04
dobblego has joined #ocaml
03:04
kreaturr has joined #ocaml
03:04
hcarty has joined #ocaml
03:04
bla has joined #ocaml
03:04
svenl has joined #ocaml
03:04
eroyf has joined #ocaml
03:04
gim has joined #ocaml
03:04
opening has joined #ocaml
03:04
acatout has joined #ocaml
03:04
tsuyoshi has joined #ocaml
03:04
jcpiza has joined #ocaml
03:04
|Catch22| has joined #ocaml
03:04
ecc has joined #ocaml
03:04
jeremiah has joined #ocaml
03:04
gunark has joined #ocaml
03:04
cmeme has joined #ocaml
03:04
jdavis_ has joined #ocaml
03:04
unfo- has joined #ocaml
03:04
pippijn has joined #ocaml
03:04
seafood has joined #ocaml
03:04
Oatskool has joined #ocaml
03:04
bebui has joined #ocaml
03:04
richardw has joined #ocaml
03:04
mattam has joined #ocaml
03:04
RobertFischer has joined #ocaml
03:04
netx has joined #ocaml
03:04
Sparkles has joined #ocaml
03:04
DerDracle has joined #ocaml
03:04
kmeyer has joined #ocaml
03:04
magnusj has joined #ocaml
03:04
Mr_Awesome has joined #ocaml
03:04
TaXules has joined #ocaml
03:04
mbishop has joined #ocaml
03:04
qwr has joined #ocaml
03:04
jonathanv has joined #ocaml
03:05
Hadaka has joined #ocaml
03:05
flux has joined #ocaml
03:06
Theq629 has quit ["Leaving"]
03:13
__suri has joined #ocaml
03:13
noj has joined #ocaml
03:13
gaja has joined #ocaml
03:23
<
context >
anyone here use Unixqueue
03:32
noj has quit [calvino.freenode.net irc.freenode.net]
03:32
__suri has quit [calvino.freenode.net irc.freenode.net]
03:32
gaja has quit [calvino.freenode.net irc.freenode.net]
03:32
flux has quit [calvino.freenode.net irc.freenode.net]
03:32
Hadaka has quit [calvino.freenode.net irc.freenode.net]
03:33
Hadaka has joined #ocaml
03:33
flux has joined #ocaml
03:33
gaja has joined #ocaml
03:33
noj has joined #ocaml
03:33
__suri has joined #ocaml
04:33
sergez has joined #ocaml
04:44
Jeff_123 has joined #ocaml
04:56
dbueno has joined #ocaml
05:19
dbueno has quit ["This computer has gone to sleep"]
05:56
meren has joined #ocaml
06:00
Jeff_124 has joined #ocaml
06:12
Jeff_123 has quit [Read error: 110 (Connection timed out)]
06:19
brooksbp has joined #ocaml
06:19
brooksbp has quit [Remote closed the connection]
07:05
Jeff_124 has quit ["Quit"]
07:06
seafood_ has quit []
07:09
l_a_m has joined #ocaml
07:12
Proteus has quit ["Leaving"]
07:24
mordaunt has quit [Read error: 104 (Connection reset by peer)]
07:27
Associat0r has joined #ocaml
08:30
ertai has joined #ocaml
08:37
filp has joined #ocaml
08:42
Snark has joined #ocaml
09:04
rwmjones has joined #ocaml
10:04
ttamttam has joined #ocaml
10:18
hkBst has joined #ocaml
10:19
smimou has joined #ocaml
10:23
seafood_ has joined #ocaml
10:27
Yoric[DT] has joined #ocaml
10:38
buluca has joined #ocaml
10:39
buluca has quit [Remote closed the connection]
10:39
buluca has joined #ocaml
10:41
dbueno has joined #ocaml
10:41
dbueno has quit [Client Quit]
10:43
dbueno has joined #ocaml
10:53
Mr_Awesome has quit ["aunt jemima is the devil!"]
10:59
marmottine has joined #ocaml
11:00
dbueno has quit [Read error: 110 (Connection timed out)]
11:14
Snark has quit ["Quitte"]
11:21
ertai has quit [Read error: 110 (Connection timed out)]
11:29
<
Yoric[DT] >
I have a syntax problem again.
11:29
<
Yoric[DT] >
For lists [ bla | stuff ] is a form of list comprehension.
11:29
<
Yoric[DT] >
For streams, [bla | stuff] is several cases.
11:29
<
Yoric[DT] >
Oh, no, that's only for stream parsers.
11:29
<
Yoric[DT] >
So I'm ok.
11:29
* Yoric[DT]
returns to debug his parser.
11:37
pango has quit [Remote closed the connection]
11:38
pango has joined #ocaml
11:39
asmanur has joined #ocaml
11:51
ertai has joined #ocaml
12:01
qwr has quit [calvino.freenode.net irc.freenode.net]
12:03
qwr has joined #ocaml
12:09
bongy has joined #ocaml
12:15
wy has quit ["Ex-Chat"]
12:15
bongy has quit ["Leaving"]
12:21
<
Yoric[DT] >
Well, pa_comprehension now works with both the original syntax and the revised syntax.
12:22
<
flux >
I'm thinking support for the original syntax will greatly enlarge the potential users of the extension :)
12:24
<
flux >
hm, that wasn't quite right, "enlarge the AMOUNT of potential users" :-)
12:24
<
flux >
the former version sounded a bit like v!i4gr/\-spam..
12:24
<
Yoric[DT] >
Now, I'm documenting while waiting for Likai Liu to answer my question regarding the license of his source code.
12:25
<
Yoric[DT] >
I'm pretty sure it's supposed to be public domain, as it's in a public tutorial, but I'd like his agreement first.
12:25
<
flux >
what are the options?
12:25
<
Yoric[DT] >
Well, he put that code on ocaml-tutorial.org, but without giving an explicit license.
12:25
<
Yoric[DT] >
I've altered it a little.
12:25
<
Yoric[DT] >
Nothing major.
12:25
<
Yoric[DT] >
(that's just one of my modules, of course)
12:25
<
rwmjones >
Yoric[DT], which page is that?
12:26
<
Yoric[DT] >
Camlp4 3.10 foreach tutorial.
12:26
<
Yoric[DT] >
Now, I'm documenting while waiting for Likai Liu
12:26
<
Yoric[DT] >
(sorry, copy-paste problem)
12:26
<
rwmjones >
all the merjis-contributed stuff is PD
12:27
<
Yoric[DT] >
What is merjis ?
12:27
<
Yoric[DT] >
Or who is merjis ?
12:27
<
rwmjones >
the company that runs the site
12:28
<
Yoric[DT] >
Well, I don't think Likai Liu is at Merjis.
12:28
seafood_ has quit []
13:02
Yoric[DT] has quit ["Ex-Chat"]
13:51
jeremiah has quit [Remote closed the connection]
14:51
Tetsuo has joined #ocaml
16:18
pango has quit [Remote closed the connection]
16:26
pango has joined #ocaml
16:26
filp has quit ["Bye"]
16:41
ertai has quit [Read error: 110 (Connection timed out)]
16:48
Yoric[DT] has joined #ocaml
16:52
jonathanv is now known as jonafan
17:06
ttamttam has left #ocaml []
17:16
FZ has joined #ocaml
17:21
olleolleolle has joined #ocaml
17:26
olleolleolle has quit []
17:29
smimou has quit ["bli"]
17:40
Yoric[DT] has quit ["Ex-Chat"]
17:40
olleolleolle has joined #ocaml
17:47
gunark has quit [Remote closed the connection]
17:51
olleolleolle has quit []
18:10
Yoric[DT] has joined #ocaml
18:12
ertai has joined #ocaml
18:16
wy has joined #ocaml
18:17
jonathanv has joined #ocaml
18:21
jonafan has quit [Nick collision from services.]
18:21
jonathanv is now known as jonafan
18:23
olleolleolle has joined #ocaml
18:23
olleolleolle has quit [Client Quit]
18:31
Proteus has joined #ocaml
18:37
<
Proteus >
So I've been trying to use inter-library loan to get a copy of Ocaml for Scientists and had absolutely no luck. I'm told the handful of copies that exist are either checked out or reserved.
18:38
<
Yoric[DT] >
I've just received my copy.
18:38
<
Yoric[DT] >
The beginning is quite ok.
18:38
<
Proteus >
ANY ideas on how to get that book that are feasible for a poor student would be helpful
18:38
<
Yoric[DT] >
I haven't reached the meat, though.
18:38
* Yoric[DT]
had it ordered by his lab.
18:38
<
Yoric[DT] >
Proteus: does "feasible" contradict "will land the student in jail if he's caught" ? :)
18:39
<
Proteus >
absolutely not
18:39
<
Proteus >
When it comes to learning I am totally unscrupulous.
18:41
<
Proteus >
Yoric[DT], did you have something in mind?
18:41
<
Yoric[DT] >
Acutally not.
18:41
<
Yoric[DT] >
Actually not.
18:41
<
Proteus >
Damn and blast.
18:41
<
flux >
even copying the thing with a photocopier might turn out to be expensive
18:41
<
Yoric[DT] >
Well, blasting will land you in jail but won't get you that book.
18:42
<
Proteus >
I've probably saved thousands on textbooks by downloading through various p2p nets - ed2k/kad seems to be particularly good at finding textbooks
18:42
<
Proteus >
But not this one
18:42
<
Proteus >
because, like, 50 copies exist.
18:43
<
Proteus >
I might even pay for it if it didn't cost so much when you include the exchange rate and shipping costs
18:44
<
Proteus >
Yoric[DT], have you looked over the meat of the book? How good is it?
18:44
<
Proteus >
And has anyone checked out his ocaml journal?
18:44
<
Yoric[DT] >
I'll try and read it tomorrow.
18:45
<
Yoric[DT] >
Not really.
18:49
<
Proteus >
Yoric[DT], well, when you get a chance to assess it's quality let me know so I can decide if putting in my $1 for an interlibrary loan request every week is worth the effort.
18:49
bluestorm_ has joined #ocaml
18:49
<
Yoric[DT] >
I'll do that.
18:53
<
Proteus >
So barring getting a copy of OC for Sci., what's the best way to go about learning ocaml? What resources, tutorials, books(?) did you guys use when you were starting out?
18:55
<
Proteus >
There's a lot of info on the site, but things like the translated o'reilly book - is that out of date?
18:55
<
bluestorm_ >
Proteus: are you talking of "Developping applications with OCaml" ?
18:56
<
bluestorm_ >
it's quite old, but not out of date
18:56
<
bluestorm_ >
there is basically no difference
18:56
<
Proteus >
That's an unusual thing to say about a programming book
18:56
<
bluestorm_ >
is K&R out of date ?
18:56
<
Proteus >
point taken
19:00
<
Proteus >
one other question, which is probably stupid, I know that you can link an ocaml object to a c object and with some magic make them play together, but I'm mainly developing in c++ so I'm wondering what steps would have to be taken, if any, to do the same thing.
19:03
<
bluestorm_ >
there is no one-to-one mapping from ocaml objects (in a OOP sense) to C++ ones
19:03
<
flux >
I haven't tried, but the same thing I suppose as you would when interfacing c++-code to a c-program
19:03
<
bluestorm_ >
you can use the low-level marshalling procedures
19:03
<
flux >
so: extern "C" etc
19:03
<
bluestorm_ >
wich for for C as well as for C++
19:03
<
bluestorm_ >
Proteus: there are some exemples of C++-OCaml interaction in the KDE code
19:03
<
bluestorm_ >
are you interested in an URL ?
19:03
<
flux >
also, swig is able to generate bindings for c++ modules for ocaml
19:04
<
Proteus >
bluestorm_, absolutely
19:04
<
Proteus >
flux, swig. cool. I'll look it up now
19:04
<
flux >
swig actually comes with a syntax extension also. object->method -stuff.
19:04
<
flux >
I haven't tried it, only read through the documentation
19:05
<
bluestorm_ >
but actually this is a C-OCaml interaction
19:06
<
bluestorm_ >
and then
19:06
<
bluestorm_ >
extern "C" {
19:06
<
bluestorm_ >
char* solve_equation(const char *);
19:06
<
bluestorm_ >
in the C++ code
19:06
<
bluestorm_ >
(from eqchemview.cpp in the parent directory)
19:08
<
flux >
it does go through the easy way, not much data structure sharing to talk about :)
19:10
<
Proteus >
so, you call c code, inside c++ code, and link to that?
19:11
<
bluestorm_ >
flux: i think in most cases, there is not so much to share
19:12
<
bluestorm_ >
you'll implement a specific part of your program as Ocaml, wich is separated from the rest
19:12
ttamttam has joined #ocaml
19:15
<
flux >
are there binding generators from ocaml to c?
19:15
<
flux >
I think there's much potential in generating high-quality bindings..
19:15
<
flux >
because there is so much type information available
19:18
<
Proteus >
glancing around the SWIG page, this may be the easiest way to solve the ocaml->whatever problem. Have any of you actually used it?
19:19
<
hcarty >
flux: Aside from SWIG, there is camlidl which takes a (slightly) modified .h and generates OCaml bindings
19:19
ygrek has joined #ocaml
19:19
<
hcarty >
I used camlidl to create bindings for the PLplot and HDF C libraries
19:19
<
flux >
yeah, I've tried that
19:20
<
flux >
it is quite nice, but I wrapping esound wasn't easy all the way
19:20
<
flux >
infact I haven't yet finished them
19:20
<
hcarty >
The biggest issue I've had has been with void* types
19:20
<
hcarty >
They more or less have to be wrapped manually, I think
19:21
<
flux >
I think I had some trouble using part generated wrappers and part self-written wrappers with the data structures..
19:21
<
hcarty >
I do that with the PLplot code if you want to take a look
19:21
<
hcarty >
It's on Google Code, and it's fairly short overall
19:22
<
flux >
perhaps I should take a look
19:22
<
flux >
ah, now I remember the problems I had: context wasn't being passed automatically everywhere
19:22
<
flux >
quote(c, "#undef camlidl_c2ml_esd_esd_sample_infos #define camlidl_c2ml_esd_esd_sample_infos(c,ctx) custom_c2ml_esd_sample_infos(c,ctx)"); -- NOT pretty
19:22
<
flux >
perhaps I can give that another stab some day
19:23
<
hcarty >
The "Source" tab has the SVN repo if you don't want to download the .tar.gz
19:23
<
flux >
hcarty, thanks
19:23
<
hcarty >
flux: Sure thing. Feel free to ask if any of it is unclear
19:33
ita has joined #ocaml
19:35
wy has quit ["Ex-Chat"]
19:37
asmanur has quit [Connection timed out]
19:41
nuncanada has joined #ocaml
20:10
asmanur has joined #ocaml
20:18
madroach has joined #ocaml
20:30
FZ has quit ["ChatZilla 0.9.78.1 [Firefox 2.0.0.11/2007112718]"]
20:43
ita has quit ["Hasta luego!"]
20:57
Theq629 has joined #ocaml
21:03
ertai has quit [Read error: 110 (Connection timed out)]
21:05
* Yoric[DT]
is trying to understand how to extend the standard pretty-printer.
21:05
* Yoric[DT]
is failing.
21:07
ertai has joined #ocaml
21:27
asmanur has quit [Remote closed the connection]
21:34
qwr has quit [calvino.freenode.net irc.freenode.net]
21:37
ttamttam has left #ocaml []
21:38
qwr has joined #ocaml
21:45
marmottine has quit [Remote closed the connection]
21:53
bluestorm_ has quit [Remote closed the connection]
21:59
Tetsuo has quit ["Leaving"]
22:12
__suri_ has joined #ocaml
22:17
wy has joined #ocaml
22:28
__suri has quit [Read error: 110 (Connection timed out)]
22:59
madroach has quit [Remote closed the connection]
23:25
seafood_ has joined #ocaml
23:35
seafood_ has quit []
23:41
<
kreaturr >
newbie question: is there a standard quick "pretty printer" for quick prototyping / debugging? like what the toplevel gives?
23:42
ertai has quit [Read error: 110 (Connection timed out)]
23:45
ertai has joined #ocaml
23:49
<
Yoric[DT] >
Not that I know of.
23:54
hkBst has quit ["Konversation terminated!"]