orbitz changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | Inscription for OCaml Meeting 2010 is opened http://wiki.cocan.org/events/europe/ocamlmeetingparis2010 | yes?
thrasibule has quit [Read error: 110 (Connection timed out)]
peper has quit [Read error: 60 (Operation timed out)]
peper has joined #ocaml
patronus has quit [Read error: 60 (Operation timed out)]
patronus has joined #ocaml
jonafan_ has joined #ocaml
Scraggy has joined #ocaml
<Scraggy> When I try to compile http://pastebin.com/d7481030a I get an error in the highlighted line, indicating the =. Why?
jeddhaberstro has joined #ocaml
<julm> what error?
<julm> and what "="?
<Scraggy> ocamlc -c borderlayout.mli -o borderlayout.cmo
<Scraggy> File "borderlayout.mli", line 9, characters 20-21:
<Scraggy> Error: Syntax error
<julm> isn't callback also an optional argument in the inherited class?
<Scraggy> Yes
<julm> so the '=' underlined is the one of the module statement
<julm> hm
<julm> could you try with camlp4of instead of ocamlc
<julm> to get a more accurate error message
<Scraggy> Parse error: [module_declaration] expected after [a_UIDENT] (in [sig_item])
ofaurax_ has quit ["Leaving"]
<julm> do you still have the error without the class declaration?
pimmhogeling has quit [Read error: 110 (Connection timed out)]
<Scraggy> Yes
<julm> without the open statement?
<Scraggy> Yes
<julm> duh
<julm> could it be a fancy space character?
jonafan has quit [Read error: 110 (Connection timed out)]
<Scraggy> ?
<julm> I don't think anyway
<julm> what is the compilation command?
<Scraggy> camlp4of borderlayout.mli
<julm> aaaaah
<julm> .mli
<julm> should be .ml
<julm> .mli only have module Toto : sig .. end
<Scraggy> Oh
<julm> mli : ML Interface
<Scraggy> Thanks
<julm> only signatures
yakischloba has quit ["Leaving."]
seanmcl has quit []
<Scraggy> When I try to compile the file, along with the superclass, It gives me an unbound class error.
Scraggy has quit ["ChatZilla 0.9.86 [Firefox 3.5.6/20100107113701]"]
ixhcltrsc has joined #ocaml
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ixhcltrsc> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<julm> hey
ixhcltrsc has quit [Connection reset by peer]
<julm> smart :D
gymhzaogd has joined #ocaml
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<julm> get out silly you
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<gymhzaogd> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
virtus has joined #ocaml
gymhzaogd has quit [Broken pipe]
kloeri__ has joined #ocaml
maskd has quit ["leaving"]
ycmapqz has joined #ocaml
<ycmapqz> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<ycmapqz> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
ycmapqz has quit [K-lined]
<Alpounet> damn
<Alpounet> and no way to ban them from here.
<julm> many ways
<julm> 1/ report on #freenode
<julm> 2/ set +R to this chan
<Alpounet> I meant they do not have the same hosts, etc.
<Alpounet> +R isn't a good solution
<julm> temporaly it could
<Alpounet> since we have many new persons every day here
<Alpounet> hmm
<julm> +rf also
<orbitz> +R is a reasonable solution fo ra shor tperiod
<orbitz> that's what we did in #erlang
<Alpounet> I don't have the power to set those.
<kloeri__> would anybody try to strangle me if I set +R? or do something else that I wouldn't like very much? :)
<Alpounet> don't think so, if it's temporary for a beginning.
<julm> neither me, at least until tomorrow :D
<julm> that said that last one was quickly klined
khkexsylg has joined #ocaml
<khkexsylg> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<khkexsylg> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<khkexsylg> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<julm> rha
<khkexsylg> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
<khkexsylg> Hi all. It seems we are again seeing javascript based flood spam. If you are experiencing this, please do not click the links in the messages as they will cause you to repeat the spam. More information is available at http://peoplesprimary.com. Thanks!
khkexsylg has quit [K-lined]
sivel has joined #ocaml
blwkapivvo has joined #ocaml
<julm> thanks
blwkapivvo has quit [Broken pipe]
<kloeri__> np
virtus has left #ocaml []
sivel has left #ocaml []
pad` has quit [Remote closed the connection]
yakischloba has joined #ocaml
djanderson has joined #ocaml
boscop has quit [Read error: 60 (Operation timed out)]
joewilliams is now known as joewilliams_away
struktured has quit [Read error: 110 (Connection timed out)]
struktured has joined #ocaml
clog has joined #ocaml
caligula__ has joined #ocaml
caligula_ has quit [Read error: 60 (Operation timed out)]
tensorpudding has quit [Remote closed the connection]
tensorpudding has joined #ocaml
_unK has quit [Remote closed the connection]
Alpounet has quit [Read error: 110 (Connection timed out)]
yakischloba has quit ["Leaving."]
jeddhaberstro has quit [Client Quit]
tmaedaZ is now known as tmaeda
Amorphous has quit [Read error: 110 (Connection timed out)]
djanderson has quit []
Amorphous has joined #ocaml
yakischloba has joined #ocaml
tensorpudding has quit [Remote closed the connection]
tensorpudding has joined #ocaml
tensorpudding has quit [Remote closed the connection]
tensorpudding has joined #ocaml
joewilliams_away is now known as joewilliams
joewilliams is now known as joewilliams_away
tensorpudding has quit [Remote closed the connection]
tensorpudding has joined #ocaml
tensorpudding has quit [Remote closed the connection]
tensorpudding has joined #ocaml
tensorpu` has joined #ocaml
tensorpudding has quit [Remote closed the connection]
struktured has quit [Read error: 110 (Connection timed out)]
tensorpu` has quit [Client Quit]
tensorpudding has joined #ocaml
ttamttam has joined #ocaml
ttamttam has quit ["Leaving."]
astertronistic has joined #ocaml
ygrek has joined #ocaml
lokydor has joined #ocaml
demitar has joined #ocaml
boscop has joined #ocaml
lokydor has quit ["leaving"]
Alpounet has joined #ocaml
Yoric has joined #ocaml
dest has joined #ocaml
<dest> Hi guys. If a function calls another one located below in the file, there's a definition problem. In C, it's possible to redefine the called function before the calling one. I guess it has something to do with the compiler passes. Is it possible to do something like that in O'Caml. In fact, I ordered functions alphbetically and obviously, it causes problems.
_zack has joined #ocaml
<olegfink> dest: you can use something like http://ideone.com/EeAycCBH
<dest> What you're suggesting is to use "and", yes, maybe I could do that even though it's not exactly what I have in mind
mrvn_ has left #ocaml []
mrvn has joined #ocaml
<olegfink> the advantage of mutually recursive (let rec ... and ...) bindings is that you can arrange them in any order, you don't have to arrange forward declarations.
<mrvn> Unless the functions are multually recusrive just order them in the right way.
<dest> mrvn: I would like to order them alphabetically
<mrvn> dest: That doesn't make sense in a functional language
<mrvn> The reason you can't forward declare a function is that this wouldn't work then: # let f () = 1 let g = f let f () = 2;;
<mrvn> # Printf.printf "%d %d\n" (f ()) (g ());;
<mrvn> 2 1
<dest> This is what I wanted : http://pastebin.com/d574bbf06
<mrvn> or let x = 2 * 17 in let x = x * 5 in let x = x + 7 in x;;
ttamttam has joined #ocaml
ikaros has joined #ocaml
<dest> boscop: thanks, I'll look into that
maskd has joined #ocaml
ikaros has quit ["Leave the magic to Houdini"]
tmaeda is now known as tmaedaZ
ikaros has joined #ocaml
yakischloba has quit ["Leaving."]
astertronistic has quit [Client Quit]
ofaurax_ has joined #ocaml
ofaurax_ has quit [Client Quit]
ofaurax has joined #ocaml
tmaedaZ is now known as tmaeda
boscop_ has joined #ocaml
boscop has quit [Read error: 110 (Connection timed out)]
derdon has joined #ocaml
_unK has joined #ocaml
pimmhogeling has joined #ocaml
tmaeda is now known as tmaedaZ
struktured has joined #ocaml
mal``` has joined #ocaml
mal`` has quit [Read error: 60 (Operation timed out)]
mal``` has quit [Client Quit]
mal`` has joined #ocaml
tmaedaZ is now known as tmaeda
pimmhogeling has quit [Read error: 110 (Connection timed out)]
demitar has quit ["Ex-Chat"]
* thelema is surprised to have reached #8 on hacker news with batteries included release
<thelema> err, #5
<thelema> ah, yoric - always better at selling than I
<Yoric> :)
* Yoric should have been a PR guy rather than a researcher.
<Yoric> I've also posted it on reddit.
Modius has joined #ocaml
ulfdoz_ has joined #ocaml
ulfdoz has quit [Read error: 110 (Connection timed out)]
struktured has quit [Read error: 60 (Operation timed out)]
<mfp> thelema: why isn't the Batteries module listed in http://thelema.github.com/AAA-batteries/hdoc/?
lokydor has joined #ocaml
tmaeda is now known as tmaedaZ
tmaedaZ is now known as tmaeda
tmaeda is now known as tmaedaZ
<thelema> mfp: because it doesn't have a mli file
<mfp> was going to say that ocaml can also handle the .ml
<mfp> but the generated docs would probably look quite bad
<mfp> would they link back to the BatXXX modules with the actual docs?
<mfp> gotta try
tmaedaZ is now known as tmaeda
<thelema> plz try - I'm going to debug (and maybe fix) the -threads requirement
lokydor has quit ["Lost terminal"]
lokydor has joined #ocaml
<thelema> ocamlfind: Error from package `threads': Missing -thread or -vmthread switch
<thelema> This doesn't seem right... Maybe it's the ocamlbuild that's not setting -thread
<thelema> hmm, except if I explicitly include pkg_thread, it seems to work
djanderson has joined #ocaml
<thelema> yes, I'm around - no I'm not on reddit.
<thelema> yes, documentation is high priority
Narrenschiff has joined #ocaml
<thelema> Can we avoid documenting most of batteries.ml and instead just say "[open Batteries] makes all the bat* modules available without the bat prefix (midex with stdlib modules as necessary), and provides a Legacy module with all the original stdlib modules available"
deavid has quit [Read error: 60 (Operation timed out)]
<mfp> wow 29 up 3 down, 90% approval rating this is very high
<mfp> thelema: where's the harm in documenting it though, assuming it can be done without much effort?
<derdon> what is a "symbol" in OCaml? is it comparable to objects in Python? Is the grammar of OCaml reachable through the internet?
deavid has joined #ocaml
<thelema> to fully document the result of mixing the stdlib modules with bat* modules would require copying the stdlib documentation, which I spent a lot of time stripping out.
<thelema> derdon: ocaml has identifiers, some of which can be made from non-alphanumeric characters
<thelema> derdon: check the ocaml reference manual http://caml.inria.fr/pub/docs/manual-ocaml/index.html
<thelema> mainly Part II, the Ocaml Language
<thelema> subpart "Prefix and infix symbols"
<derdon> ah, thanks
boscop_ has left #ocaml []
Yoric has quit []
deavid has quit ["No Ping reply in 180 seconds."]
deavid has joined #ocaml
boscop has joined #ocaml
<mfp> thelema: hmm batteries.ml is still doing module List = struct include List include BatList end I thought BatList and Batteries.List were supposed to be the same?
<mfp> ignore me
<mfp> ic, that's the way to document only the extensions in batList.mli
pimmhogeling has joined #ocaml
deavid has quit [Read error: 60 (Operation timed out)]
deavid has joined #ocaml
deavid has quit [Remote closed the connection]
Narrenschiff has quit []
deavid has joined #ocaml
ikaros has quit ["Leave the magic to Houdini"]
ulfdoz_ has quit [Client Quit]
ulfdoz has joined #ocaml
pimmhogeling has quit [Read error: 110 (Connection timed out)]
ikaros has joined #ocaml
tmaeda is now known as tmaedaZ
ksson has joined #ocaml
Yoric has joined #ocaml
djanderson has quit []
lokydor_ has joined #ocaml
ttamttam has quit ["Leaving."]
joewilliams_away is now known as joewilliams
thrasibule has joined #ocaml
joewilliams is now known as joewilliams_away
Alpounet has quit [Read error: 60 (Operation timed out)]
Alpounet has joined #ocaml
_unK has quit [Remote closed the connection]
_unK has joined #ocaml
Yoric has quit []
Alpounet has quit [Read error: 110 (Connection timed out)]
Alpounet has joined #ocaml
Alpounet changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | Inscription for OCaml Meeting 2010 is opened http://wiki.cocan.org/events/europe/ocamlmeetingparis2010
Yoric has joined #ocaml
mfp changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.11.2 released | Inscription for OCaml Meeting 2010 is opened http://wiki.cocan.org/events/europe/ocamlmeetingparis2010
maskd has quit [Remote closed the connection]
ksson has quit [Read error: 54 (Connection reset by peer)]
Modius has quit [Read error: 110 (Connection timed out)]
djanderson has joined #ocaml
yakischloba has joined #ocaml
djanderson has quit []
ygrek has quit [Remote closed the connection]
maskd has joined #ocaml
demitar has joined #ocaml
demitar has quit [Client Quit]
ned has joined #ocaml
Submarine has joined #ocaml
Submarine has quit [Read error: 104 (Connection reset by peer)]
maskd has quit [Remote closed the connection]
derdon has quit []
maskd has joined #ocaml
kloeri__ has quit [Broken pipe]
kloeri__ has joined #ocaml
jeddhaberstro has joined #ocaml
pimmhogeling has joined #ocaml