gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0+beta1 http://permalink.gmane.org/gmane.comp.lang.caml.inria/49168
Tianon has quit [*.net *.split]
Amorphous has quit [*.net *.split]
f[x] has quit [*.net *.split]
sgnb has quit [*.net *.split]
jlouis has quit [*.net *.split]
bitbckt has quit [*.net *.split]
sgnb has joined #ocaml
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
Amorphous has joined #ocaml
f[x] has joined #ocaml
jlouis has joined #ocaml
bitbckt has joined #ocaml
Tianon has quit [Ping timeout: 276 seconds]
jlouis has quit [Ping timeout: 248 seconds]
jlouis has joined #ocaml
joewilliams_away is now known as joewilliams
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
krankkatze has joined #ocaml
<krankkatze> hi
andir has joined #ocaml
andir has quit [Remote host closed the connection]
andir has joined #ocaml
<elehack> krankkatze: hi
<andir> hello?
<andir> hmm, guess I had to register first... anyway: Have some newb questions if anyone is interested in helping me out.
<elehack> andir: fire away, we'll see what we can do!
<andir> well, I was reading through the documents at http://www.ocaml-tutorial.org/the_structure_of_ocaml_programs and there's a sample (grtest1.ml) about halfway down... I put this into a file called grtest1.ml and ran the compile script they give me and I get a permissions error: Error: I/O error: grtest1.cmo: Permission denied
<andir> I was able to run the "famous" raytracer in OCaml vs. C example and it worked fine... so I don't think it's an environment issue, but this one "opens" Graphics so I just don't know
__marius__ has quit [Remote host closed the connection]
<elehack> the permissions error sounds like more of an environment problem rather than an OCaml problem.
<elehack> for some reason it can't create or modify the file 'grtest1.cmo'
<elehack> in the current directory (or same dir as grtest1.ml)
Obfuscate has quit [Ping timeout: 240 seconds]
Tianon has quit [*.net *.split]
Amorphous has quit [*.net *.split]
f[x] has quit [*.net *.split]
bitbckt has quit [*.net *.split]
<andir> hmm, I just created the folder ~/Projects/Programming/OCaml and created the test file in there
<elehack> that does sound strange.
jjong has quit [Quit: 전 이만 갑니다.]
<andir> just tried sudo before the ocamlc command with the same result... so it should be creating a new file called grtest1.cmo in the same folder as the ml file? I'll fiddle with it some more...
<andir> thanks for helping
<elehack> The .cmo file will be in either the directory the .ml file is in or in the current directory (usually they're the same)
<elehack> no problem.
<andir> yeah, I'm running this from a terminal from within that folder
__marius__ has joined #ocaml
<andir> oh damn, I feel stupid! I wasn't in the right folder... wow, haven't made that mistake in a while.
__marius__ has quit [Remote host closed the connection]
Tianon has joined #ocaml
Amorphous has joined #ocaml
f[x] has joined #ocaml
bitbckt has joined #ocaml
Obfuscate has joined #ocaml
neorab has joined #ocaml
<gildor> skrewla: patches, http://git.debian.org/?p=pkg-ocaml-maint/packages/camlimages.git;a=tree;f=debian/patches;h=7134394ca5833007d7838959ec501e26188fc036;hb=HEAD
<gildor> skrewla: follow th order in series for application
<gildor> (the debian patch is not mandatory)
<skrewla> awesome gildor
<skrewla> thank you.
andir has left #ocaml []
andir_ has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
__marius__ has joined #ocaml
alexyk has joined #ocaml
__marius__ has quit [Remote host closed the connection]
__marius__ has joined #ocaml
andir_ has quit [Quit: leaving]
andir has joined #ocaml
Obfuscate has quit [Ping timeout: 260 seconds]
__marius__ has quit [Remote host closed the connection]
Associat0r has joined #ocaml
Obfuscate has joined #ocaml
neorab has quit [Quit: brb]
jakedouglas has joined #ocaml
neorab has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
marius_ has joined #ocaml
marius_ has quit [Remote host closed the connection]
marius_ has joined #ocaml
andir has quit [Quit: andir]
marius_ has quit [Remote host closed the connection]
marius_ has joined #ocaml
Associat0r has quit [Read error: Connection reset by peer]
marius_ has quit [Remote host closed the connection]
emmanuelux has quit [Remote host closed the connection]
marius_ has joined #ocaml
marius_ has left #ocaml []
elehack has quit [Quit: not a typewriter]
_unK has quit [Remote host closed the connection]
_andir has joined #ocaml
_andir has quit [Client Quit]
andir has joined #ocaml
jakedouglas has joined #ocaml
jakedouglas has quit [Client Quit]
oriba has joined #ocaml
oriba has quit [Client Quit]
andir has quit [Quit: leaving]
thrasibule has joined #ocaml
__marius__ has joined #ocaml
__marius__ has quit [Remote host closed the connection]
<skrewla> gildor: i dont know if you're still here?
<skrewla> i applied patches. now i'mg etting this: /opt/csw/bin/ocamlc.opt -warn-error A -annot -I /opt/csw/lib/ocaml/lablgtk -o info.cmi -c info.mli
<skrewla> Usage: ocamlc <options> <files>
<skrewla> Options are:
thrasibule has quit [Ping timeout: 265 seconds]
Associat0r has joined #ocaml
coucou747 has joined #ocaml
caligula_ has joined #ocaml
ulfdoz has joined #ocaml
caligula__ has quit [Ping timeout: 260 seconds]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 240 seconds]
valross has quit [Ping timeout: 265 seconds]
valross has joined #ocaml
ulfdoz_ has quit [Quit: Reconnecting]
ulfdoz has joined #ocaml
<skrewla> nm, i got it to work with the latest version
Amorphous has quit [Ping timeout: 248 seconds]
joewilliams is now known as joewilliams_away
alexyk has quit [Quit: alexyk]
alexyk has joined #ocaml
Yoric has joined #ocaml
Amorphous has joined #ocaml
ulfdoz has quit [Read error: Operation timed out]
<gildor> skrewla: I suppose that you were using a quite old version of ocaml that don't have the -annot options
alexyk has quit [Quit: alexyk]
ttamttam has joined #ocaml
<skrewla> yes. all is well now.=)
coucou747 has quit [Quit: 0x2a]
Yoric has quit [Quit: Yoric]
joewilliams_away is now known as joewilliams
Tianon has quit [Ping timeout: 248 seconds]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
joewilliams is now known as joewilliams_away
<skrewla> gidor: in the fedora rpm it has included ci_ps.cxma etc .. how do i get those to build using the source?
Edward_ has joined #ocaml
<gildor> skrewla: take a look at the output of the configure script
<gildor> skrewla: it tests for various file and will give you hints about what additional rpm you need to install
ttamttam has quit [Quit: Leaving.]
<skrewla> i am on opensolaris .. for some reason it can't find liblgtk2 and ungif even tho they are installed
<skrewla> other than that when looking thru config.log i didn't see anything about what makes .cmxa
ttamttam has joined #ocaml
<skrewla> ok so I guess i need to figure out how to get lablgtk working
<skrewla> thanks for the hint
Yoric has joined #ocaml
Edward__ has joined #ocaml
<f[x]> anybody succeeded at build ocaml 3.12+beta1 on mingw?
Edward_ has quit [Ping timeout: 265 seconds]
ikaros has joined #ocaml
th5 has joined #ocaml
ttamttam has quit [Quit: ttamttam]
<flux> hmh, the structural typing of objects is quite nice sometimes. I had a record for gps coordinates and a record for gps coordinate + time it was taken. now after objectifying it I can just pass the (lists of) trackpoints as-is without conversion to distance calculation functions etc.
ttamttam has joined #ocaml
<flux> and it didn't reduce the speed noticeably either
ttamttam has quit [Client Quit]
<flux> wish one could inherit from objecs, though :)
<flux> atleast in the type-safe cases
ttamttam has joined #ocaml
<flux> also, after one point I need to further augment data into those elements, and it all falls through the already-written functions without combining the data pair-wise afterwards..
valross has quit [Quit: Ex-Chat]
Edward__ has quit [Read error: Connection reset by peer]
ttamttam has quit [Remote host closed the connection]
Yoric has quit [Ping timeout: 240 seconds]
Yoric has joined #ocaml
ttamttam has joined #ocaml
npouilla1d has quit [Ping timeout: 260 seconds]
Yoric has quit [Ping timeout: 240 seconds]
npouillard has joined #ocaml
itewsh has joined #ocaml
Yoric has joined #ocaml
itewsh has quit [Quit: There are only 10 kinds of people: those who understand binary and those who don't]
itewsh has joined #ocaml
<adrien> gildor: I edited my _tags file and added "<dummy.{cma,cmxa}>: use_libdummy" as you suggested and it works now =)
<adrien> gildor: would have that problem happened if I had put files in a sub-directory and not in '.' directly?
Edward_ has joined #ocaml
<adrien> gildor: also, in order to create a _oasis file from a program, printf will do it perfectly, right? (write-only, no need to read back)
sepp2k has joined #ocaml
alexyk has joined #ocaml
alexyk has quit [Quit: alexyk]
Tianon has quit [Read error: Operation timed out]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
ttamttam has left #ocaml []
ikaros_ has joined #ocaml
Edward__ has joined #ocaml
ikaros has quit [Ping timeout: 265 seconds]
Edward_ has quit [Ping timeout: 265 seconds]
thrasibule has joined #ocaml
itouch has joined #ocaml
srcerer_ has joined #ocaml
srcerer has quit [Ping timeout: 252 seconds]
fraggle_ has quit [Remote host closed the connection]
patronus has quit [Remote host closed the connection]
patronus has joined #ocaml
fraggle_ has joined #ocaml
derdon has joined #ocaml
itouch has quit [Quit: There are only 10 kinds of people: those who understand binary and those who don't]
thrasibule has quit [Ping timeout: 276 seconds]
Snark has joined #ocaml
<thomasga> Associat0r: that's a nice paper :-)
<flux> they are quite right about FFI, there.
fraggle_laptop has quit [Remote host closed the connection]
fraggle_laptop has joined #ocaml
mickybadia has joined #ocaml
mickybadia has left #ocaml []
ikaros_ has quit [Quit: Leave the magic to Houdini]
ikaros has joined #ocaml
ikaros has quit [Read error: Connection reset by peer]
derdon has quit [Ping timeout: 260 seconds]
Yoric has quit [Ping timeout: 240 seconds]
_unK has joined #ocaml
alexyk has joined #ocaml
alexyk has quit [Quit: alexyk]
rossberg has quit [Remote host closed the connection]
oriba has joined #ocaml
srcerer_ is now known as srcerer
oriba has quit [Quit: Verlassend]
alexyk has joined #ocaml
neorab has quit [Quit: laters]
joewilliams_away is now known as joewilliams
thieusoai1 has joined #ocaml
fraggle_laptop has quit [Ping timeout: 248 seconds]
f[x] has quit [Ping timeout: 248 seconds]
thieusoai1 has quit [Client Quit]
elehack has joined #ocaml
jakedouglas has joined #ocaml
derdon has joined #ocaml
fraggle_laptop has joined #ocaml
alexyk has quit [Quit: alexyk]
sepp2k has quit [Read error: Connection reset by peer]
th5 has quit [Quit: th5]
Yoric has joined #ocaml
ulfdoz has joined #ocaml
sepp2k has joined #ocaml
alexyk has joined #ocaml
ikaros has joined #ocaml
drk-sd has joined #ocaml
derdon has quit [Ping timeout: 265 seconds]
_unK has quit [Remote host closed the connection]
joewilliams is now known as joewilliams_away
jakedouglas has quit [Quit: Leaving.]
sepp2k1 has joined #ocaml
sepp2k has quit [Ping timeout: 260 seconds]
ygrek has joined #ocaml
Edward__ has quit [Ping timeout: 276 seconds]
Yoric has quit [Quit: Yoric]
thrasibule has joined #ocaml
Associat0r has quit [Read error: Connection reset by peer]
Snark has quit [Quit: Ex-Chat]
jakedouglas has joined #ocaml
ttamttam has joined #ocaml
joewilliams_away is now known as joewilliams
derdon has joined #ocaml
alexyk has quit [Quit: alexyk]
<murphe> if i have two nested matches, how do i define that i want to add an | case to the outer one, not another to the inner one?
<murphe> match a with b->c | d-> match d with e-> f | g->h
<murphe> something like that
<murphe> how do i know if g->h is in the inner or the outer match?
<murphe> (obviously a bit more complicated, that example is silly to do)
<adrien> murphe: parens or a 'begin ... end' pair
<adrien> match foo with | blabla -> begin match bar with | baz -> .... | ... end | baz -> ...
<murphe> ahh yeah.
<adrien> or same with ( instead of begin and ) instead of end
<murphe> i was trying to get it with ;'s
<murphe> -_-
<adrien> ; is not used often in ocaml (not saying it's never used)
ygrek has quit [Ping timeout: 245 seconds]
<murphe> yeah. i try to avoid it.
joewilliams is now known as joewilliams_away
ttamttam has quit [Quit: Leaving.]
alexyk has joined #ocaml
coucou747 has joined #ocaml
sepp2k1 has quit [Quit: Leaving.]
alexyk has quit [Quit: alexyk]
andir has joined #ocaml
Edward__ has joined #ocaml
andir has quit [Quit: leaving]
coucou747 has quit [Ping timeout: 276 seconds]
coucou747 has joined #ocaml
sepp2k has joined #ocaml
oriba has joined #ocaml
oriba has quit [Remote host closed the connection]
maskd has quit [Quit: Reconnecting]
maskd has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
jakedouglas has quit [Ping timeout: 240 seconds]
jakedouglas has joined #ocaml
jonafan_ has joined #ocaml
maskd has quit [*.net *.split]
Tianon has quit [*.net *.split]
skrewla has quit [*.net *.split]
jonafan has quit [*.net *.split]
noj has quit [*.net *.split]
schmrkc has quit [*.net *.split]
rudi_s has quit [*.net *.split]
npouillard has quit [*.net *.split]
Amorphous has quit [*.net *.split]
bitbckt has quit [*.net *.split]
rudi_s has joined #ocaml
schmrkc has joined #ocaml
noj has joined #ocaml
jonafan has joined #ocaml
skrewla has joined #ocaml
Tianon has joined #ocaml
maskd has joined #ocaml
npouillard has joined #ocaml
Amorphous has joined #ocaml
bitbckt has joined #ocaml
schmrkc has quit [Write error: Connection reset by peer]
jonafan has quit [Ping timeout: 390 seconds]
schmrkc has joined #ocaml
schmrkc has quit [Changing host]
schmrkc has joined #ocaml
coucou747 has quit [Remote host closed the connection]
itewsh has quit [Quit: o/]
ikaros has quit [Quit: Leave the magic to Houdini]