kaustuv changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.1 out now! Get yours from http://caml.inria.fr/ocaml/release.html
seafood has joined #ocaml
_zack has quit ["Leaving."]
seafood has quit []
seafood has joined #ocaml
seafood has quit [Client Quit]
seafood has joined #ocaml
sramsay has quit [Remote closed the connection]
X-Scale has left #ocaml []
jeddhaberstro has joined #ocaml
schmx has quit [Read error: 60 (Operation timed out)]
schmx has joined #ocaml
jeddhaberstro has quit [Client Quit]
jeddhaberstro has joined #ocaml
maskd has quit [hubbard.freenode.net irc.freenode.net]
anders^^ has quit [hubbard.freenode.net irc.freenode.net]
nimred has quit [hubbard.freenode.net irc.freenode.net]
poucet has quit [hubbard.freenode.net irc.freenode.net]
deavid has quit [hubbard.freenode.net irc.freenode.net]
lanaer has quit [hubbard.freenode.net irc.freenode.net]
anders^^ has joined #ocaml
nimred has joined #ocaml
poucet has joined #ocaml
maskd has joined #ocaml
lanaer has joined #ocaml
deavid has joined #ocaml
maskd has quit [hubbard.freenode.net irc.freenode.net]
poucet has quit [hubbard.freenode.net irc.freenode.net]
deavid has quit [hubbard.freenode.net irc.freenode.net]
lanaer has quit [hubbard.freenode.net irc.freenode.net]
anders^^ has quit [hubbard.freenode.net irc.freenode.net]
nimred has quit [hubbard.freenode.net irc.freenode.net]
svenl has quit [hubbard.freenode.net irc.freenode.net]
deavid has joined #ocaml
lanaer has joined #ocaml
maskd has joined #ocaml
poucet has joined #ocaml
nimred has joined #ocaml
anders^^ has joined #ocaml
svenl has joined #ocaml
peddie has joined #ocaml
peddie_ has quit [Read error: 110 (Connection timed out)]
jeddhaberstro has quit [Client Quit]
marteo has joined #ocaml
holmak has joined #ocaml
holmak has quit ["Leaving"]
yttrium has joined #ocaml
<yttrium> Trying to setup ocaml. I was installing findlib, and get this: http://pastebin.org/3922
smimou has joined #ocaml
gdmfsob is now known as mishok13
angerman has joined #ocaml
angerman has quit []
_zack has joined #ocaml
Snark has joined #ocaml
angerman has joined #ocaml
angerman_ has joined #ocaml
angerman has quit [Read error: 60 (Operation timed out)]
julm has quit [Read error: 60 (Operation timed out)]
smimou has quit ["bli"]
verte has joined #ocaml
julm has joined #ocaml
Jedai has joined #ocaml
hkBst has joined #ocaml
<yziquel> hi. imagine i have "class name = object val x = 1 method y = 2 end". How can I hide x and y from appearing in the .mli file?
Snark has quit [Remote closed the connection]
<wysek> what do you mean? it's you who edit .mli file
Modius_ has quit [Client Quit]
Modius has joined #ocaml
<yziquel> wysek: yes. I'm editing the .mli file. I want to have in the .ml file "class virtual name = object val virtual u : int end;;" and "class name_0 = object inherit name val u = 1 end;;". In the .mli file, I want "class virtual name : object end" and "class name_0 : name".
<yziquel> wysek: but i get a "class declarations do not match" between .ml and .mli files. "The virtual instance variable u cannot be hidden."
angerman_ has quit []
marmottine has joined #ocaml
<flx_> I've never used virtual values :-o
<flx_> yziquel, maybe the problem is that 'val virtual u' isn't the same as 'val u'
<flx_> oh, right
<flx_> never mind, the problem might be exactly what it says
<flx_> yziquel, do you need to expose 'name' at all?
<flx_> class type name : object end class name_0 : name in the .mli
<kaustuv> yziquel: have you tried the suggestion in http://caml.inria.fr/pub/docs/manual-ocaml/manual005.html#toc24 ?
<flx_> class virtual name_virt = object val virtual u : int end class type name : object end class name_0 = object inherit name_virt val u = 1 end ?
<yttrium> er, once more: trying to setup ocaml, I was installing findlib, and get this: http://pastebin.org/3922
angerman has joined #ocaml
<yziquel> yttrium: how did you generate the findlib.cma file?
<yziquel> flx_: http://ocaml.pastebin.com/m5f993b1f I'm trying to create a swig module. As C++ objects may have different constructors, I'm trying to wrap the object in a virtual class, and create the constructors through a standard class. As you can see in the pastebin, there's a fields, underlying_cpp_object, that I wish to hide in the .mli file. In the .mli file, I need a class for each constructor, that must inherit from a virtual class
<yziquel> flx_: so I need a type class, and a type abreviation for the OCaml object.
<yziquel> flx_: that's why I feel I need to expose 'name' or 'tokenizer' in the .mli.
<yziquel> flx_: i like the example you proposed, but I also need a type abreviation of the same name as the class type.
<yziquel> kaustuv: reading your link.
<yziquel> kaustuv: thanks. type classes define type abreviations. I think that is what i need.
seafood has quit []
Amorphous has quit [Read error: 104 (Connection reset by peer)]
yziquel has quit [Ping timeout: 180 seconds]
Amorphous has joined #ocaml
_andre has joined #ocaml
ulfdoz has joined #ocaml
yziquel has joined #ocaml
<yttrium> er hello again
<yttrium> i just did ./configure and make for findlib
<yttrium> yziquel:
<yziquel> yttrium: not familiar with compiling findlib by hand. If you can use the packaging system of your distribution, please do.
<yziquel> yttrium: i'll try compiling findlib manually.
<yziquel> yttrium: using version 1.2.4?
<yttrium> yes
<yziquel> yttrium: using godi is also a nice alternative to using distribution-specific packages.
<yziquel> yttrium: works fine on my end. what system are you on?
<yttrium> OS X
LeCamarade has joined #ocaml
<yziquel> i have to go. on os x, I believe you'd have better luck using GODI.
<yttrium> I will try godi.
yttrium has quit []
marteo has quit ["Debian GNU/Hurd is Good."]
Snark has joined #ocaml
angerman has quit []
bombshelter13_ has joined #ocaml
marteo has joined #ocaml
palomer has joined #ocaml
<palomer> peace
<jimmyb21871> Hi palomer
<jimmyb21871> Didn't get a chance to install yet
<jimmyb21871> Sorry about that... some stuff came up at work yesterday after you left
smimou has joined #ocaml
Jedai has quit ["When two people dream the same dream, it ceases to be an illusion. KVIrc 3.4.2 Shiny http://www.kvirc.net"]
willb has joined #ocaml
marteo has quit [Read error: 60 (Operation timed out)]
marteo has joined #ocaml
angerman has joined #ocaml
marteo has quit [Read error: 110 (Connection timed out)]
marteo has joined #ocaml
<palomer> try it out!
<palomer> !!
mishok13 has quit ["Stopping IRC chat... [OK]"]
_zack has quit ["Leaving."]
_zack has joined #ocaml
amuck_ has joined #ocaml
Jedai has joined #ocaml
angerman has quit []
palomer has quit ["Leaving"]
_andre has quit ["leaving"]
marmottine has quit [Remote closed the connection]
travisbrady has joined #ocaml
travisbrady has quit [Client Quit]
travisbrady has joined #ocaml
verte has quit ["~~~ Crash in JIT!"]
sramsay has joined #ocaml
LeCamarade is now known as LeCamarade|Away
angerman has joined #ocaml
ulfdoz has quit [Read error: 110 (Connection timed out)]
oriba has joined #ocaml
roliba has joined #ocaml
oriba has quit [Read error: 60 (Operation timed out)]
Snark has quit ["Ex-Chat"]
jm has joined #ocaml
julm has quit [Read error: 110 (Connection timed out)]
jm is now known as julm
marteo has quit [Read error: 145 (Connection timed out)]
willb has quit [Read error: 110 (Connection timed out)]
marteo has joined #ocaml
roliba has left #ocaml []
willb has joined #ocaml
Associat0r has joined #ocaml
bombshelter13_ has quit []
angerman has quit []
willb has quit [Read error: 110 (Connection timed out)]
_zack has quit ["Leaving."]
raboof has joined #ocaml
<raboof> i'd like to create a small script that downloads 2 RSS feeds, processes and orders their items a bit, and formats the result as HTML.
<raboof> thought it'd be interesting to try doing it in ocaml - i've done a bit of ML and Clean in the past
<raboof> i installed netclient (from the debian package), and tried to run '/usr/share/doc/libocamlnet-ocaml-doc/examples/netclient/simple/http_get.ml'
<raboof> this starts with '#require "netclient";;', but when i type that on the 'ocaml' prompt i get "Unknown directive `require'."
yziquel has quit [hubbard.freenode.net irc.freenode.net]
<raboof> what does that mean?
<raboof> aaah, '#use "topfind";;' ;)
smimou has quit ["bli"]
ccasin has joined #ocaml
marteo has quit ["Debian GNU/Hurd is Good."]
amuck_ has quit []
slash_ has quit [Client Quit]
travisbrady has quit []