dan2 changed the topic of #ocaml to: OCaml 3.08.2 available! | Archive of Caml Weekly News: http://sardes.inrialpes.fr/~aschmitt/cwn/ | A tutorial: http://merjis.com/richj/computers/ocaml/tutorial/ | A free book: http://cristal.inria.fr/~remy/cours/appsem/ | Mailing List: http://caml.inria.fr/bin/wilma/caml-list/ | Cookbook: http://pleac.sourceforge.net/
smkl has quit [Read error: 238 (Connection timed out)]
smkl has joined #ocaml
KrispyKringle has joined #ocaml
KrispyKringle has quit ["leaving"]
smkl has quit [Read error: 238 (Connection timed out)]
fab__ has joined #ocaml
_fab has quit [Read error: 110 (Connection timed out)]
smkl has joined #ocaml
Herrchen has joined #ocaml
Herrchen_ has quit [Read error: 60 (Operation timed out)]
KrispyKringle has joined #ocaml
<KrispyKringle> hi, folks.
<neale> pretty much.
<KrispyKringle> can someone help me out with the syntax error I get on line 5 of the code here (http://rafb.net/paste/results/9Br3Vw93.html)? Thanks for the help.
<neale> I'm guessing you need "Unix.Unix_error"
<neale> not "Unix.unix_error"
<KrispyKringle> whoops. let me give that a shot
<KrispyKringle> sweet. thanks. i was stumped! :)
smkl has quit [Read error: 238 (Connection timed out)]
smkl has joined #ocaml
<mrsolo> hmm so if it is native code compiler.. why does it still need ocamlrun?
<neale> mrsolo: it doesn't.
<neale> only byte-compiled code needs ocamlrun
<mrsolo> hmm
<mrsolo> something is funky
<neale> sure sounds like it
<mrsolo> i used ocamlc.opt
<mrsolo> and got exe
<mrsolo> still want ocamlrun heh
monochrom has quit ["Few people understand "understanding"."]
KrispyKringle has quit ["leaving"]
dan2 has quit []
budjet has joined #ocaml
dan2 has joined #ocaml
dan2 has quit []
dan2 has joined #ocaml
budjet has quit [Remote closed the connection]
Hanji has quit [Read error: 104 (Connection reset by peer)]
Hanji has joined #ocaml
smkl_ has joined #ocaml
smkl has quit [Read error: 238 (Connection timed out)]
mrsolo has quit [Read error: 104 (Connection reset by peer)]
mrsolo has joined #ocaml
mlh has joined #ocaml
vezenchio has joined #ocaml
smkl_ has quit [Read error: 238 (Connection timed out)]
smkl_ has joined #ocaml
<mflux> mrsolo, ocamlc.opt is only native version of ocamlc
<mflux> mrsolo, you want to use ocamlopt
<mflux> but maybe you figured that out during the previous 8 hours ;)
Heimdall has joined #ocaml
<Heimdall> Hi
<Heimdall> I *greatly* need help
<Herrchen> hi Heimdall
<Heimdall> OCaml GCis playing tricks on me
<Heimdall> caml_oldify_local_roots just hangs
<Heimdall> I call OCaml code from a C function
<Heimdall> it uses quite a lot of memory (recursive function for merging tyo lists)
<Heimdall> And whenever a minor or major GC is launched, it just never returns
<Heimdall> Do you have any idea of what could be happening ?
<Heimdall> no one ?
<mflux> sorry ;)
<Heimdall> ergl
<Heimdall> do you know which address space is used when calling OCaml code fro a C function ?
<Heimdall> I believed that it was the one of the OCaml process
<Heimdall> but it could may be explain what's happening to me if it uses the one of the C process
smkl_ has quit [Read error: 238 (Connection timed out)]
<mflux> if you're talking about unix, I would expect them to be mapped into same address space
<Heimdall> mflux: yes, I am executing it on Unix
<mflux> in unix processes don't tend to modify their address space
<mflux> well, except by mapping new regions into unused space
smkl_ has joined #ocaml
mlh has quit [Client Quit]
cjohnson has joined #ocaml
cjohnson has quit [Read error: 60 (Operation timed out)]
cjohnson has joined #ocaml
smkl_ has quit [Read error: 238 (Connection timed out)]
<mrsolo> yep
<mrsolo> silly me
<mrsolo> so why bother to different between ocamlc and ocamlc.opt?
<Riastradh> One may be faster than the other.
<mrsolo> not always?
<mrsolo> i assume ocamlc.opt is always faster
<mrsolo> if available
monochrom has joined #ocaml
mrvn_ has joined #ocaml
Herrchen has quit ["bye"]
smkl_ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
Heimdall has quit [Read error: 54 (Connection reset by peer)]
ez4 has joined #ocaml
mrsolo has quit [Read error: 110 (Connection timed out)]
smkl_ has quit [Read error: 238 (Connection timed out)]
mrsolo_ has joined #ocaml
<mrsolo_> what's an good editor for working with ocaml? eclipse plugin isn't too good..
<neale> emacs
<monochrom> outlook express
<neale> heh
<monochrom> imagine, you can email the code to yourself!
<neale> sounds handy
<mrsolo_> back to emacs again hmm?
<neale> emacs is great because it lets you program your major mode
<neale> also, it comes with the most powerful mail agent in the universe
<neale> and tetris!
<mrsolo_> hmm let me rephrase the question
<mrsolo_> is there other editor beside emacs for ocaml?
<mrsolo_> hmm another eclipse ocaml plugin in work
<neale> might I ask what's wrong with emacs?
<neale> (just curious)
<mrsolo_> excellent, just the learning curve
<mrsolo_> but may have to learn it anyway
<neale> I've found the learning curve is pretty reasonable with the addition of menus and M-x customize
smkl_ has joined #ocaml
vezenchio has quit ["haibane · renmei"]
gim has joined #ocaml
durnew has joined #ocaml
vezenchio has joined #ocaml
smkl_ has quit [Read error: 238 (Connection timed out)]
vezenchio has quit ["haibane · renmei"]
ez4 has quit [Read error: 104 (Connection reset by peer)]
vezenchio has joined #ocaml
smkl_ has joined #ocaml
KrispyKringle has joined #ocaml
monochrom has quit ["Few people understand "understanding"."]
<KrispyKringle> so im feeling pretty stupid. i had this working, but now i forget quite how. if i'm compiling a .ml file that references a standard module (Unix), then I want to do ocamlc -o foo unix.cmo foo.ml, no? But that doesn't work.
<Smerdyakov> unix.cma
<KrispyKringle> ooh, thanks.
<KrispyKringle> yep, that would do it ;)
<KrispyKringle> so if I do something like let stats = Unix.fstat fd in... and then try to access a member of the record returned by the fstat call like stats.st_size, do I need to do something specific to access that record type definition, since it's not present in the toplevel namespace? it seems I do, since I get the error "unbound record label".
<KrispyKringle> I suppose I could open Unix, but I'd rather not.
vezenchio has quit ["haibane · renmei"]
smkl_ has quit [Read error: 238 (Connection timed out)]
xqw has quit ["Abandonando"]