flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | Grab OCaml 3.10.2 from http://caml.inria.fr/ocaml/release.html (featuring new camlp4 and more!)
ulfdoz has quit [Read error: 110 (Connection timed out)]
smimou has quit ["bli"]
Kopophex has quit [Read error: 110 (Connection timed out)]
Kopophex has joined #ocaml
Morphous has quit [Read error: 110 (Connection timed out)]
Morphous has joined #ocaml
seafood has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
ulfdoz has joined #ocaml
r0bby has joined #ocaml
CosmicRay has joined #ocaml
RobertFischer has quit ["Taking off -- check out http://smokejumperit.com and http://enfranchisedmind.com/blog/"]
batdog has joined #ocaml
batdog has quit [Client Quit]
AxleLonghorn has joined #ocaml
AxleLonghorn has left #ocaml []
CosmicRay has quit ["Client exiting"]
batdog has joined #ocaml
marmotine has quit [Remote closed the connection]
<seafood> Can I ask a question about .mli and .ml files?
* seafood asds
* seafood adsadas
palomer has quit ["Leaving"]
<thelema> seafood: go ahead.
<seafood> Weird my cient is acting up
seafood has quit []
seafood has joined #ocaml
<seafood> I couldn't see what I typed echoed
<seafood> Okay, I'm looking at some code Xavier Leroy wrote.
<seafood> It's CamlIDL.
<thelema> that is odd.
<thelema> ok.
<seafood> Anyway, he's done this neat trick where he puts some type declarations (and only type declarations) in a file called idltypes.mli
<thelema> ok.
<seafood> He does this so that he doesn't have to write them in the interface file AND the module file.
<seafood> Then when you make the program, camlidl, idltypes.cmi does not appear on the command line (since it can't)
<seafood> But somehow the link still works!
<seafood> Now, I'm trying this on my own project and I keep getting an error message saying that "ProcessTypes" is a undefined global.
<seafood> But I can't see what I'm doing differently to Xavier's code.
<thelema> what types?
<thelema> any records / variant types?
<seafood> Just algebraic data types.
<seafood> And an exception
<seafood> Is it the exception perhaps?
<seafood> I don't use any polymorphic variants. No records. Just things like type a = B | C of string
<thelema> well, only records and variant types need to be pre-declared - everything else can be inferred. (Exceptions count as a variant type)
<thelema> so if the types were all "optional-declare" types, that file wouldn't be needed to compile.
<seafood> I'm looking at Xavier's code again.
* thelema can't d/l ocamlidl to look at the code himself
<seafood> He's got records
<seafood> Err. Perhaps I could put it up somewhere for you to download?
<seafood> Why can't you download?
batdog has quit []
<thelema> caml.inria.fr isn't responding
<thelema> you could put it somewhere - I'd d/l it then.
<thelema> (or just give me any working URL)
<thelema> ah, a .mli file with only types needs no .ml
<thelema> it still has to be referenced by the other files
<thelema> all of his files have "open Idltypes"
<seafood> Is that important?
<thelema> yes.
<seafood> That the ALL have it?
<seafood> What if you leave it out?
<seafood> What goes wrong?
<thelema> no, just ones that use the types.
<seafood> Ahah. Well. I'm doing the same thing!
<seafood> And it's just not linking.
<seafood> I really can't understand what is going on.
<thelema> if you leave it out, you have to specify Idltypes.<typename> in the type specification
<seafood> Sure.
<seafood> I understand that.
<thelema> there's no real trick, other than a module with no code, only types.
<thelema> so there's nothing to link.
<thelema> how is your project failing?
<seafood> What about exceptions?
<seafood> Could that ruin things?
<seafood> I'm going to try this.
<thelema> I think exceptions might need the .ml file, although I'm not sure.
<seafood> Aha! That was it!
<seafood> Thanks for your help
<thelema> there might be some code created to run at initialization
<thelema> s/initialization/startup/
Kopophex has quit [Read error: 110 (Connection timed out)]
bluestorm has joined #ocaml
m3ga has joined #ocaml
Jeff_123 has quit [Read error: 104 (Connection reset by peer)]
m3ga has quit ["disappearing into the sunset"]
Ched- has joined #ocaml
Ched- has left #ocaml []
seafood has quit []
seafood has joined #ocaml
Linktim has joined #ocaml
ygrek has joined #ocaml
Jedai has joined #ocaml
Yoric[DT] has joined #ocaml
asmanur has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
filp has joined #ocaml
Linktim_ has joined #ocaml
vbmithr has joined #ocaml
Linktim_ is now known as Linktimaw
Linktim has quit [Read error: 110 (Connection timed out)]
ygrek has quit [Remote closed the connection]
asmanur has quit [Read error: 110 (Connection timed out)]
vbmithr_ has joined #ocaml
Linktimaw has quit [Read error: 110 (Connection timed out)]
vbmithr has quit [Read error: 110 (Connection timed out)]
Associat0r has joined #ocaml
LordMetroid has joined #ocaml
vbmithr has joined #ocaml
vbmithr_ has quit ["leaving"]
love-pingoo has joined #ocaml
ygrek has joined #ocaml
Morphous is now known as Amorphous
smimou has joined #ocaml
struktured has quit [Read error: 104 (Connection reset by peer)]
struktured has joined #ocaml
asmanur has joined #ocaml
Yoric[DT] has joined #ocaml
Ched has joined #ocaml
Ched has left #ocaml []
smimou has quit ["bli"]
tomh has joined #ocaml
smimou has joined #ocaml
smimou has quit [Remote closed the connection]
smimou has joined #ocaml
ygrek has quit [Remote closed the connection]
batdog has joined #ocaml
ChristopheT has joined #ocaml
seafood has quit []
Jedai has quit [Read error: 113 (No route to host)]
<bluestorm> flux: where is your ocaml game again ?
<bluestorm> i found nothing on the Hump
marmotine has joined #ocaml
Jedai has joined #ocaml
nuncanada has joined #ocaml
hkBst has joined #ocaml
pango has quit [Remote closed the connection]
love-pingoo has quit [Read error: 60 (Operation timed out)]
pango has joined #ocaml
batdog has quit []
love-pingoo has joined #ocaml
AxleLonghorn has joined #ocaml
AxleLonghorn has left #ocaml []
* thelema considers whether unicode strings should be in stdlib or Unicode (possibly within libstr)
* Yoric[DT] believes that stdlib is a good choice.
<Yoric[DT]> Since many modules will want to provide functions working with unicode as well as functions working with regular strings.
<thelema> there's a ton of code imported from camomile to handle latin1 -> UTF8 conversion - it's worth burdening all ocaml programs iwth this?
<Yoric[DT]> Well, maybe not the whole code.
<Yoric[DT]> But I'd say that the type of ustrings should be pervasive.
<Yoric[DT]> I might be wrong, of course.
<thelema> I was thinking maybe a simple "open Unicode" at the top of a program would include string/char types that are unicode ropes and Unicode characters
<thelema> *codepoints
<thelema> as long as there was an equivalent infrastructure of unicode functions, the conversion could be pretty easy...
<thelema> Any programs wanting both ascii and unicode wouldn't do the [open], and would ask for Unicode.* specifically.
tomh has quit ["http://www.mibbit.com ajax IRC Client"]
<thelema> or do you think that ustrings should be default, and users should ask specifically for plain ascii strings?
<flux> bluestorm, yeah, maybe I could put it to Hump one of these days.. http://modeemi.fi/~flux/goba
<bluestorm> aah
<bluestorm> i've been looking for "gob" on google
<bluestorm> even "gob ocaml" wasn't that great :p
<Yoric[DT]> thelema: I'm not sure about that.
<Yoric[DT]> yet
<Yoric[DT]> I actually hoped your ideas would be a bit more clear than mine.
<flux> is there a forum where such things are discussed?
<thelema> Just this morning, as I was finishing the unicode library, I realized that maybe it shouldn't lie in stdlib.
<thelema> hmm, I guess it wouldn't be too unreasonable to untangle things again to pull the character conversion routines outside of the stdlib.
bla has quit [Read error: 113 (No route to host)]
bla has joined #ocaml
Jedai has quit ["KVIrc 3.4.0 Virgo http://www.kvirc.net/"]
Ched- has joined #ocaml
Ched- has left #ocaml []
love-pingoo has quit ["Connection reset by pear"]
jussx has joined #ocaml
jussx has quit ["leaving"]
Demitar has quit [Read error: 110 (Connection timed out)]
^authentic has joined #ocaml
asmanur has quit [Remote closed the connection]
kelaouchi has joined #ocaml
authentic has quit [Read error: 110 (Connection timed out)]
^authentic is now known as authentic
blue_prawn has joined #ocaml
tomh has joined #ocaml
batdog has joined #ocaml
Linktim has joined #ocaml
guillem has joined #ocaml
Demitar has joined #ocaml
Associat0r has quit []
filp has quit ["Bye"]
ChristopheT has left #ocaml []
nuncanada has quit [Remote closed the connection]
marmotine has quit [Remote closed the connection]
Yoric[DT] has quit ["Ex-Chat"]
smimou has quit [Read error: 110 (Connection timed out)]
smimou has joined #ocaml
guillem has quit [heinlein.freenode.net irc.freenode.net]
bla has quit [heinlein.freenode.net irc.freenode.net]
LordMetroid has quit [heinlein.freenode.net irc.freenode.net]
bluestorm has quit [heinlein.freenode.net irc.freenode.net]
Smerdyakov has quit [heinlein.freenode.net irc.freenode.net]
ikatz has quit [heinlein.freenode.net irc.freenode.net]
Mr_Awesome has quit [heinlein.freenode.net irc.freenode.net]
pattern has quit [heinlein.freenode.net irc.freenode.net]
Jeff_123 has joined #ocaml
Linktim has quit [Read error: 113 (No route to host)]
guillem has joined #ocaml
bluestorm has joined #ocaml
batdog has quit []
Linktim has joined #ocaml
batdog has joined #ocaml
Jeff_123 has quit ["Leaving."]
bla has joined #ocaml
Smerdyakov has joined #ocaml
Mr_Awesome has joined #ocaml
pattern has joined #ocaml
ikatz has joined #ocaml
hkBst has quit [heinlein.freenode.net irc.freenode.net]
gaja has quit [heinlein.freenode.net irc.freenode.net]
det has quit [heinlein.freenode.net irc.freenode.net]
jlouis has quit [heinlein.freenode.net irc.freenode.net]
gaja has joined #ocaml
hkBst has joined #ocaml
det has joined #ocaml
jlouis has joined #ocaml
tim has joined #ocaml
fremo has joined #ocaml
batdog has quit []
tlh24 has quit [heinlein.freenode.net irc.freenode.net]
fremo_ has quit [heinlein.freenode.net irc.freenode.net]
hcarty has quit [heinlein.freenode.net irc.freenode.net]
tlh24 has joined #ocaml
hcarty has joined #ocaml
tim has quit [heinlein.freenode.net irc.freenode.net]
ikatz has quit [heinlein.freenode.net irc.freenode.net]
Mr_Awesome has quit [heinlein.freenode.net irc.freenode.net]
Smerdyakov has quit [heinlein.freenode.net irc.freenode.net]
bla has quit [heinlein.freenode.net irc.freenode.net]
pattern has quit [heinlein.freenode.net irc.freenode.net]
tim has joined #ocaml
bla has joined #ocaml
Smerdyakov has joined #ocaml
Mr_Awesome has joined #ocaml
pattern has joined #ocaml
ikatz has joined #ocaml
clog has joined #ocaml
ikatz has quit [clarke.freenode.net irc.freenode.net]
Mr_Awesome has quit [clarke.freenode.net irc.freenode.net]
Smerdyakov has quit [clarke.freenode.net irc.freenode.net]
bla has quit [clarke.freenode.net irc.freenode.net]
pattern has quit [clarke.freenode.net irc.freenode.net]
gildor has quit [clarke.freenode.net irc.freenode.net]
det has quit [clarke.freenode.net irc.freenode.net]
jlouis has quit [clarke.freenode.net irc.freenode.net]
mattam has quit [clarke.freenode.net irc.freenode.net]
petchema has quit [clarke.freenode.net irc.freenode.net]
ppsmimou has quit [clarke.freenode.net irc.freenode.net]
blue_prawn has quit [clarke.freenode.net irc.freenode.net]
xevz has quit [clarke.freenode.net irc.freenode.net]
elparo_continua has quit [clarke.freenode.net irc.freenode.net]
struktured has quit [clarke.freenode.net irc.freenode.net]
fremo has quit [clarke.freenode.net irc.freenode.net]
Demitar has quit [clarke.freenode.net irc.freenode.net]
hkBst has quit [clarke.freenode.net irc.freenode.net]
haelix has quit [clarke.freenode.net irc.freenode.net]
netx has quit [clarke.freenode.net irc.freenode.net]
bzzbzz has quit [clarke.freenode.net irc.freenode.net]
Sparkles has quit [clarke.freenode.net irc.freenode.net]
r0bby has quit [clarke.freenode.net irc.freenode.net]
vbmithr has quit [clarke.freenode.net irc.freenode.net]
ulfdoz has quit [clarke.freenode.net irc.freenode.net]
jonafan has quit [clarke.freenode.net irc.freenode.net]
kelaouchi has quit [clarke.freenode.net irc.freenode.net]
gaja has quit [clarke.freenode.net irc.freenode.net]
flux has quit [clarke.freenode.net irc.freenode.net]
Naked has quit [clarke.freenode.net irc.freenode.net]
svenl has quit [clarke.freenode.net irc.freenode.net]
cmeme has quit [clarke.freenode.net irc.freenode.net]
orbitz has quit [clarke.freenode.net irc.freenode.net]
tomh has quit [clarke.freenode.net irc.freenode.net]
gim has quit [clarke.freenode.net irc.freenode.net]
Amorphous has quit [clarke.freenode.net irc.freenode.net]
TaXules has quit [clarke.freenode.net irc.freenode.net]
l_a_m has quit [clarke.freenode.net irc.freenode.net]
Linktim has quit [clarke.freenode.net irc.freenode.net]
dobblego has quit [clarke.freenode.net irc.freenode.net]
thelema has quit [clarke.freenode.net irc.freenode.net]
Oatschool has quit [clarke.freenode.net irc.freenode.net]
bluestorm has quit [clarke.freenode.net irc.freenode.net]
Ugarte has quit [clarke.freenode.net irc.freenode.net]
guillem has quit [clarke.freenode.net irc.freenode.net]
tim has quit [clarke.freenode.net irc.freenode.net]
Chile` has quit [clarke.freenode.net irc.freenode.net]
szell has quit [clarke.freenode.net irc.freenode.net]
authentic has quit [clarke.freenode.net irc.freenode.net]
guyzmo has quit [clarke.freenode.net irc.freenode.net]
ertai has quit [clarke.freenode.net irc.freenode.net]
shortcircuit has quit [clarke.freenode.net irc.freenode.net]
tsuyoshi has quit [clarke.freenode.net irc.freenode.net]
mfp has quit [clarke.freenode.net irc.freenode.net]
smimou has quit [clarke.freenode.net irc.freenode.net]
mbishop has quit [clarke.freenode.net irc.freenode.net]
ozzloy has quit [clarke.freenode.net irc.freenode.net]
acatout has quit [clarke.freenode.net irc.freenode.net]
jdev has quit [clarke.freenode.net irc.freenode.net]
pango has quit [clarke.freenode.net irc.freenode.net]
vixey has quit [clarke.freenode.net irc.freenode.net]
hcarty has quit [Read error: 104 (Connection reset by peer)]
gildor has joined #ocaml
ikatz has joined #ocaml
pattern has joined #ocaml
Mr_Awesome has joined #ocaml
Smerdyakov has joined #ocaml
bla has joined #ocaml
tim has joined #ocaml
fremo has joined #ocaml
jlouis has joined #ocaml
det has joined #ocaml
gaja has joined #ocaml
Linktim has joined #ocaml
bluestorm has joined #ocaml
guillem has joined #ocaml
smimou has joined #ocaml
Demitar has joined #ocaml
tomh has joined #ocaml
blue_prawn has joined #ocaml
kelaouchi has joined #ocaml
authentic has joined #ocaml
pango has joined #ocaml
struktured has joined #ocaml
vbmithr has joined #ocaml
r0bby has joined #ocaml
ulfdoz has joined #ocaml
Amorphous has joined #ocaml
mfp has joined #ocaml
vixey has joined #ocaml
netx has joined #ocaml
shortcircuit has joined #ocaml
bzzbzz has joined #ocaml
jonafan has joined #ocaml
szell has joined #ocaml
ppsmimou has joined #ocaml
jdev has joined #ocaml
TaXules has joined #ocaml
xevz has joined #ocaml
Ugarte has joined #ocaml
petchema has joined #ocaml
elparo_continua has joined #ocaml
Sparkles has joined #ocaml
haelix has joined #ocaml
flux has joined #ocaml
Naked has joined #ocaml
ertai has joined #ocaml
dobblego has joined #ocaml
gim has joined #ocaml
l_a_m has joined #ocaml
thelema has joined #ocaml
mattam has joined #ocaml
svenl has joined #ocaml
acatout has joined #ocaml
mbishop has joined #ocaml
orbitz has joined #ocaml
cmeme has joined #ocaml
tsuyoshi has joined #ocaml
Chile` has joined #ocaml
Oatschool has joined #ocaml
ozzloy has joined #ocaml
guyzmo has joined #ocaml
hcarty has joined #ocaml
Smerdyakov has quit [clarke.freenode.net irc.freenode.net]
ikatz has quit [clarke.freenode.net irc.freenode.net]
Mr_Awesome has quit [clarke.freenode.net irc.freenode.net]
bla has quit [clarke.freenode.net irc.freenode.net]
pattern has quit [clarke.freenode.net irc.freenode.net]
tlh24 has quit [Connection timed out]
bla has joined #ocaml
Smerdyakov has joined #ocaml
Mr_Awesome has joined #ocaml
pattern has joined #ocaml
ikatz has joined #ocaml
blue_prawn has quit ["Client exiting"]
pattern_ has joined #ocaml
Linktim has quit [Remote closed the connection]
pattern has quit [Read error: 110 (Connection timed out)]
pattern_ is now known as pattern
jeremiah has joined #ocaml
batdog has joined #ocaml
batdog has quit [Client Quit]
batdog has joined #ocaml
Axioplase has joined #ocaml
LordMetroid has joined #ocaml
bluestorm has quit ["Konversation terminated!"]
<Smerdyakov> Oho. ICFP accepted papers list published.
<jlouis> where?
<Smerdyakov> Well, that would be... on the ICFP web site!
<jlouis> got it
<jlouis> Smerdyakov, I need to read about your PHOAS ideas someday. It looks interesting
<Smerdyakov> jlouis, well, hey, I like it. :-)
<jlouis> You have a "draft" somewhere of the paper?
<jlouis> Or should I just wait
tomh has quit ["http://www.mibbit.com ajax IRC Client"]