ikaros has quit [Quit: Leave the magic to Houdini]
Yoric has quit [Quit: Yoric]
Oejet1 has quit [Ping timeout: 276 seconds]
<EM03>
Hello
tauntaun has joined #ocaml
munga has joined #ocaml
astory has joined #ocaml
<astory>
I'm trying to make a set using a custom-defined type, but I'm getting syntax errors on Set.Make. How am I supposed to do it?
munga has quit [Ping timeout: 276 seconds]
Cyanure has quit [Remote host closed the connection]
wchicken2 has joined #ocaml
<wchicken2>
hey guys -- me again
<wchicken2>
anybody know of an ocaml-friendly SVD library? it looks like there isn't a native one so I was wondering if anyone had experience with ocaml-gsl or something
Fullma has joined #ocaml
<astory>
I'm getting `Error: Unbound module Map.Make' and I can't figure out what I'm doing wrong; another file I have uses it fine; what can I do to debug?
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
<astory>
although a helper might have just solved it for me
<astory>
solved it, another file which I was importing was clobbering the name for Map
mfp has joined #ocaml
tauntaun has joined #ocaml
pheredhel has joined #ocaml
Associat0r has quit [Quit: Associat0r]
lopex has quit []
emmanuelux has quit [Remote host closed the connection]
oriba has quit [Quit: Verlassend]
joewilliams is now known as joewilliams_away
Tianon has quit [Ping timeout: 248 seconds]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
pheredhel has quit [Ping timeout: 250 seconds]
Associat0r has joined #ocaml
pheredhel has joined #ocaml
sepp2k has quit [Quit: Leaving.]
tauntaun has quit [Quit: Ex-Chat]
pheredhel has quit [Ping timeout: 255 seconds]
pheredhel has joined #ocaml
dnolen has joined #ocaml
metasyntax has quit [Ping timeout: 246 seconds]
dnolen has quit [Quit: dnolen]
ulfdoz has joined #ocaml
metasyntax has joined #ocaml
pheredhel has quit [Ping timeout: 255 seconds]
pheredhel has joined #ocaml
lamawithonel has quit [Remote host closed the connection]
metasyntax has quit [Ping timeout: 250 seconds]
metasyntax has joined #ocaml
ulfdoz has quit [Ping timeout: 248 seconds]
Associat0r has quit [Ping timeout: 255 seconds]
lamawithonel has joined #ocaml
ygrek has joined #ocaml
<EM03>
how much has ocaml changed since 2004-5 ?
<EM03>
can code written for those versions have a good chance at working?
<EM03>
also forthe partner roll they need a create event thingy and a logout ....and a login for anon ...i know those are small but the client freaks on crap like that
<EM03>
ok writing outlines now
<EM03>
oh and drop the footer in as well when you can, all static
<mrvn>
if it compiles then it works :)
<EM03>
oops super wrong messages above there ^^
<EM03>
mrvn: how much stuff has changed there?
<mrvn>
There are lots of new things added. Not sure if something serious was removed though. If it doesn't work outright then it shouldn't be hard to fix.
<EM03>
mrvn: easy for you to say.....this is 5 years of me gong back to ocaml hehe
<mrvn>
If you used external libraries then you probably have to adapt to their newer versions. If you only used the core stuff then I bet it just compiles.
<EM03>
its not my code hehe ....its some 06 ocaml code on sf
Snark has joined #ocaml
ikaros has joined #ocaml
<EM03>
mrvn: I'm probably crazy for wanting to use ocaml for web dev but i think its aboslutely fantastic for this purpose
Yoric has joined #ocaml
philtor has quit [Ping timeout: 250 seconds]
<mrvn>
EM03: you aren't. google even wrote a plugin to run ocaml code in your browser.
<mrvn>
,oO(or if you are then at least you aren't the only one)
edwin has joined #ocaml
ygrek has quit [Remote host closed the connection]
<sgnb>
EM03, mrvn: and you can run ocaml code in your browser without any plugin with obrowser, js_of_ocaml, or ocamljs
<sgnb>
EM03: what code are you talking about? usually, ocaml source code is not too difficult to "update"
Cyanure has joined #ocaml
<flux>
em03, it compiles except for syntax extension system, that has changed a lot. however, a maintained branch of the old version is still available as well, so that shouldn't be a big problem
<flux>
otherwise I've found even old ocaml code compiles quite nice. of course, sometimes library upgrades can introduce incompatiblities. an example of this is calendarlib.
<flux>
and I think camomile
<flux>
em03, what doesn't happen (or I haven't seen happening), though, is that code compiles but somehow breaks down in mysterious ways :)
<flux>
and that I value a lot
Yoric has quit [Quit: Yoric]
Cyanure has quit [Remote host closed the connection]
edwin has quit [Quit: Leaving.]
edwin has joined #ocaml
munga has joined #ocaml
arkadir has joined #ocaml
<arkadir>
hello
<arkadir>
is there a pa_monad package for debian, or should it be built and installed manually?
<gildor>
arkadir: I don't think so
<gildor>
arkadir: what should be the source of it ?
<arkadir>
since the 2008 source for pa_monad is under GPL, I kind of hoped someone would have made it into a package
<arkadir>
LGPL*
<gildor>
who is the upstream author ?
<arkadir>
Jacques Carette, apparently
<arkadir>
failing that, is there any monad camlp4 syntax "standard" enough to be included on debian?
<arkadir>
I don't have anything against building pa_monad from source, I just wondered if there was a normal way of doing things
<flux>
mayb\e with lwt? but the may be lwt-specific
<gildor>
arkadir: there is a copy of it in obus, but it is not distributed
<arkadir>
I see
<arkadir>
thanks for the info, I guess I'll be building it myself then
Yoric has joined #ocaml
<flux>
gildor, can ocaml-expect extract substrings for me to access from the process?
vivanov has quit [Ping timeout: 264 seconds]
vivanov has joined #ocaml
<gildor>
flux: you can expect a string using a regexp
<gildor>
and probably extract a string from it
<gildor>
or use fmatches
<gildor>
or use un
<gildor>
or use `Fun
<flux>
gildor, thanks, perhaps I'll give it a shot then
kerx has quit [Read error: Connection reset by peer]
ikaros has quit [Quit: Leave the magic to Houdini]
ttamttam has joined #ocaml
ttamttam has left #ocaml []
avsm has joined #ocaml
mcclurmc has left #ocaml []
_andre has joined #ocaml
Oejet has joined #ocaml
ygrek has joined #ocaml
rup has quit [Ping timeout: 276 seconds]
munga has quit [Read error: Operation timed out]
avsm has quit [Quit: Leaving.]
vivanov has quit [Ping timeout: 255 seconds]
avsm has joined #ocaml
ygrek has quit [Ping timeout: 246 seconds]
vivanov has joined #ocaml
__mattam__ has joined #ocaml
brendan_ has joined #ocaml
brendan_ is now known as Guest58454
mattam has quit [Ping timeout: 240 seconds]
diml has quit [Ping timeout: 240 seconds]
brendan has quit [Ping timeout: 240 seconds]
diml has joined #ocaml
Oejet has quit [Read error: Connection reset by peer]
arkadir has quit [Remote host closed the connection]
Oejet has joined #ocaml
lopex has joined #ocaml
Oejet has quit [Read error: Connection reset by peer]
Oejet has joined #ocaml
coucou747 has joined #ocaml
munga has joined #ocaml
ttamttam has joined #ocaml
ttamttam has left #ocaml []
mal`` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
mal`` has joined #ocaml
dnolen has joined #ocaml
explodus has joined #ocaml
boscop has joined #ocaml
coucou747 has quit [Quit: 0x2a]
vivanov has quit [Ping timeout: 250 seconds]
<EM03>
rwmjones: What happened to mod_ocaml? I'm thinking about ripping out the template part and adding it to ocamlnet
<rwmjones>
EM03: you mean mod_caml I think
<rwmjones>
mod_ocaml is a completely different porject
<thelema>
yes, that one. There's a mirror on the ocamlorg site somewhere
<rproust>
k
<rproust>
I have a local copy from july 2008
<rproust>
I'll try and update it
boscop_ is now known as boscop
<gildor>
mirror.ocamlcore.org
<gildor>
thelema, EM03: ^^^
<EM03>
wayback machine got me the files as welll
Associat0r has quit [Quit: Associat0r]
thieusoai has joined #ocaml
Yoric has joined #ocaml
<EM03>
thelema: thats not a good sign
<EM03>
hope nothing tragic happened
<agarwal1975>
fyi, with Sylvain and Rich's help, I'm trying to port the content of ocaml-tutorial.org to a new website. (early stages, no promises yet.)
<EM03>
the way back machine does have it all , i know it not a good solution but still
astory has left #ocaml []
Associat0r has joined #ocaml
ymasory has joined #ocaml
_habnabit is now known as h_______
h_______ is now known as _habnabit
munga has joined #ocaml
_andre has quit [Quit: leaving]
vivanov has quit [Ping timeout: 255 seconds]
ymasory has quit [Ping timeout: 252 seconds]
vivanov has joined #ocaml
enthymeme has joined #ocaml
pheredhel has quit [Read error: Operation timed out]
avsm has quit [Quit: Leaving.]
pheredhel has joined #ocaml
ygrek has quit [Ping timeout: 246 seconds]
<rwmjones>
nothing tragic happened except my debian machine broke down ...
<rproust>
Error: Error while linking camltest.cmo:
<rproust>
The external function `caml_js_raphael' is not available
EM03 has quit [Ping timeout: 240 seconds]
coucou747 has quit [Quit: 0x2a]
ikaros has quit [Quit: Leave the magic to Houdini]
<avsm>
you need the raphael bindings too, presumably
Yoric has quit [Quit: Yoric]
<rproust>
raphael.ml has external … : … = "caml_js_raphael"
<rproust>
and stubs.o is compiled from stubs.c that has void caml_js_raphael () { fprintf(stderr, "Unimplemented Javascript primitive %s!\\n", "caml_js_raphael"); exit(1); }
<rproust>
what do you mean by "the raphael bindings"?
Oejet has quit [Ping timeout: 276 seconds]
<sgnb>
rproust: you need to create a dummy .c file with the function "caml_js_raphael"... it's documented somewhere...
<rproust>
sgnb: it's done
<rproust>
the file stubs.c has it
<rproust>
and I compile stubs.c with ocamlc -c
<sgnb>
rproust: you need to make a dll*.so with it using ocamlmklib
<sgnb>
and give that .so to link your js executable
Amorphous has quit [Ping timeout: 255 seconds]
tauntaun has quit [Quit: Ex-Chat]
<rproust>
sgnb: thanks it links and compiles
<sgnb>
rproust: maybe an easier way would be to "ocamlc -custom -make-runtime -o foo stubs.c" followed by "ocamlc -use-runtime foo raphael.ml"
<sgnb>
s/-custom// in the first
<sgnb>
I don't know... it still uses an intermediate file, but it doesn't use another command
<rproust>
I'd have to check if it doesn't interfere w/ js_of_ocaml runtime, but I try to look into that
<sgnb>
"ocamlc [...] raphael.ml" just wants to check that all your externals are defined
<sgnb>
you can define them in a dll*.so or an executable runtime, but either way you don't use it since you are actually using the JS runtime
agarwal1975 has quit [Quit: agarwal1975]
<sgnb>
but in retrospect, the dll*.so will be much smaller than the executable runtime, so if you want to install your stuff as a library for later reuse, it's probably better to go the dll*.so way