huxley.openprojects.net changed the topic of #ocaml to: www.ocaml.org
<GnuVince> What's up?
<Taaus> Not a lot... Playing some online challenges :)
<GnuVince> mkay
<Taaus> www.caesum.com , www.slyfx.com , that stuff...
<GnuVince> Ok
<GnuVince> I'm fighting with O'Caml at the moment
<GnuVince> and he seems to have the advantage
<Taaus> Also messing with programming in 'Thue' (I'm an esolang freak ;)
<Taaus> lol
<Taaus> What's the problem now? :)
<GnuVince> Big int's
<Taaus> Oh, still those...
<GnuVince> Yeah...
<GnuVince> And they are pissing me off big time right now
<GnuVince> Do you accept private chats?
<Taaus> Sure.
<cmk2> uh why do you need to take it private?
<Taaus> Because it's very hush hush ;)
<GnuVince> Because
<Taaus> Because flooding channels with code is considered a crime in some countries :P
<cmk2> flooding THIS channel is a bliss in any country
<Taaus> Really?
<cmk2> really
cmk2 has quit [Read error: 104 (Connection reset by peer)]
comatoast has joined #ocaml
nob has joined #ocaml
<nob> hi
<nob> what does the option keyword mean in record fields ?
comatoast has quit ["Whoosh!"]
comatoast has joined #ocaml
<GnuVince> When I have the following error:
<GnuVince> File "factor.ml", line 40, characters 0-0:
<GnuVince> Syntax error
<GnuVince> where 40 is my last line number+1
<GnuVince> what exactly is the problem?
comatoast has quit [Client Quit]
comatoast has joined #ocaml
comatoast has quit ["Whoosh!"]
comatoast has joined #ocaml
<JGibson__> GnuVince: maybe it's one of those things where the compiler reports the error at the end, like if you don't close a bracket or something like that
<GnuVince> hrmmm
<GnuVince> I've closed pretty much everything
<GnuVince> actually, I have closed everything
<JGibson__> dunno, i guess i'd have to see it
<GnuVince> mkay
<nob> option keyword in rec field
<nob> ?
<GnuVince> I do not know
nob has quit []
jemfinch` changed the topic of #ocaml to: nob: it's not an option keyword. It's a datatype. 'a option. It can be either "None" or "Some data" -- it represents either data that's not there (None) or data that's there (Some data)
<GnuVince> hey jeremy
<jemfinch`> howdy
<GnuVince> what's up?
<jemfinch`> not much.
<jemfinch`> greek sucks.
<GnuVince> No super bowl?
<jemfinch`> it's already over :)
<GnuVince> Did you watch it I mean?
<jemfinch`> yeah, I did.
<GnuVince> Who won?
<jemfinch`> the patriots.
<GnuVince> They beat the odds then
<jemfinch`> yeah, they did.
* GnuVince gives up
<GnuVince> Jeremy, I'll post a question for you on LNO
<jemfinch`> what's the question?
<GnuVince> About a O'Caml program
<GnuVince> but I must go to bed
<GnuVince> so I'll post what's the problem, and my code
<GnuVince> ok?
GnuVince is now known as GnuVince|Sleep
<jemfinch`> GnuVince|Sleep: that program, I think, requires some magic from Ruby.
<jemfinch`> because I couldn't translate it correctly either.
<GnuVince|Sleep> The Python version works fine
<jemfinch`> oh well.
<GnuVince|Sleep> I am thinking that somehow, a 0 gets into my multiplication (mult_big_int)
<GnuVince|Sleep> But I can't see how
* jemfinch` suggests printfs :)
<GnuVince|Sleep> Yeah.
<GnuVince|Sleep> But just seeing it, you can't see anything wrong?
<jemfinch`> I haven't looked.
<GnuVince|Sleep> ok
<jemfinch`> I have too many much more important things to do, sorry.
<GnuVince|Sleep> No problem
<GnuVince|Sleep> But if you get a little 10 minutes this week, I would really appreciate
<jemfinch`> I might later in the week.
<GnuVince|Sleep> OK, thanks
<GnuVince|Sleep> I mean, I've spent an hour on this and I haven't figued it out.
<comatoast> sleep; your effective IQ will be higher in the morning...
<smkl> a, b, a1, b1 = a1, b1, p*a+q*a1, p*b+q*b1 -- this is the cause of the error, a simultaneous update
graydon has quit []
comatoast has quit ["Whoosh!"]
Cryptor has joined #ocaml
Cryptor has quit ["Leaving"]
comatoast has joined #ocaml
__DL__ has joined #ocaml
comatoast has quit ["Whoosh!"]
* __DL__ is away: I'm busy
malc has joined #ocaml
graydon has joined #ocaml
malc has quit ["no reason"]
JGibson__ has quit ["WHAT, CLOWN?!"]
DL_home has joined #ocaml
__DL__ has quit [Read error: 104 (Connection reset by peer)]
bruce has joined #ocaml
<bruce> hi
bruce has quit ["Client Exiting"]
two-face has joined #ocaml
<two-face> hi
two-face has quit ["Client Exiting"]
graydon has quit [Remote closed the connection]
GnuVince|Sleep is now known as GnuVince
malc has joined #ocaml
graydon has joined #ocaml
<GnuVince> smkl: thanks by the way, my program works now.
jemfinch` has quit [Remote closed the connection]
jemfinch has joined #ocaml
<GnuVince> wb jeremy
jemfinch has quit [Client Quit]
jemfinch has joined #ocaml
jemfinch has quit [Remote closed the connection]
jemfinch has joined #ocaml
jemfinch has quit [Remote closed the connection]
jemfinch has joined #ocaml
jemfinch has quit [Remote closed the connection]
jemfinch has joined #ocaml
<Taaus> Problems, Jeremy? :)
<jemfinch> ugh.
<jemfinch> I hate tweaking X to make it the way I like it.
<jemfinch> especially since the only gtk theme I like seems to crash the X server.
<Taaus> lol
<GnuVince> jemfinch: MacOSX then?
<jemfinch> GnuVince: hah.
<Taaus> Use a proper OS ;)
<Taaus> GnuVince: Any fascinating problems for us to explore today? :P
DL_home has quit [Remote closed the connection]
<jemfinch> oh yeah, and my mousewheel doesn't want to work.
<GnuVince> Taaus: yes
<GnuVince> Taaus: why is it so damn cold all of a sudden in Quebec?!
<GnuVince> I mean
<GnuVince> two weeks ago it was 5-6°C
<GnuVince> now it's -15°C
<GnuVince> !!!!
<Taaus> Heh.
<GnuVince> but if you're talking about OCaml
<GnuVince> I guess so :)
<Taaus> Hehe.
<malc> GnuVince: its freaking +5C here, and everyone complains that this is not a proper winter weather
<GnuVince> malc: where do you live?
<malc> GnuVince: Moscow
<GnuVince> ok
<malc> only one good day early january. -28C
<malc> sigh
<GnuVince> I hate winter...
<GnuVince> when I was a little kid I loved it
<GnuVince> but now, I hate snow, cold and all that
<malc> Good thing about cold winter is that when warm spring comes you feel better, cheery etc
<GnuVince> Yes
<GnuVince> That may be why I just *love* spring
<GnuVince> I'm always in a happy mood in those time
<malc> But if winter is not warm, the effect is just NOT the same
<malc> therefore winters must be cold dark and ugly
<GnuVince> hrmmm
<GnuVince> I don't know
<GnuVince> I hate driving in bad weather
<GnuVince> especially winter
<GnuVince> slippery roads scare me
<malc> I dont have a car, heck i dont even know how to drive, so this is pretty much irrelevant to me
<jemfinch> malc: so you're russian?
<malc> jemfinch: yes
<jemfinch> that's cool.
<jemfinch> I've not known very many real-life russians :)
<malc> im artifical russian. this is IRC after all
<jemfinch> :)
<jemfinch> I know a little bit of russian.
<jemfinch> like how to count to ten, say thank you, etc.
<jemfinch> I wish comp.lang.ml actually got some traffic.
<jemfinch> and I wish they had sml-nj packages for debian.
<Taaus> I can say 'Cheers' in Russian... :)
<malc> i know how to count to ten in english
<Taaus> And 'See ya' ;)
<jemfinch> malc: do you know any other languages?
<malc> Taaus: amazing
<malc> jemfinch: natural?
<jemfinch> yeah...like, maybe, Latin?
<Taaus> I have a friend from Russia.
<jemfinch> then we could talk in languages neither of us is a native speaker of :)
<malc> jemfinch: some german, very little norwegian
* jemfinch could communicate in Latin if absolutely necessary :)
<malc> my latin doesnt extend past 'homo homini lupus est'
<malc> and 'quod erat demonstrandum'
<jemfinch> hehe :)
<Taaus> 'Vir prudens non contra ventum mingit', though I doubt that's correct Latin ;)
<jemfinch> and, I'm sure, "id est", and perhaps "exempli gratia" though you know those I'm sure only by abbreviation.
<Taaus> And 'nota bene'
<jemfinch> ah, that's one too.
<Taaus> And 'post scriptum'
<malc> well by far the most important is 'in vina veritas'
<jemfinch> semper fi, too.
<Taaus> And AM and PM :)
<jemfinch> semper ubi sub ubi is a funny little pun they teach all latin students.
<malc> jemfinch: where and why do they teach latin anyway?
<jemfinch> malc: where? everywhere in America.
<jemfinch> why? because there's so much good stuff written in it.
<jemfinch> and it's the basis for more than 50% of all english words, and because it makes learning other romance languages cake-easy.
<malc> i very much doubt it will help you much with deutsch
<jemfinch> not a whole lot, though they do take some words from Latin.
<malc> whoops
<malc> german is germanic not romance
<jemfinch> yeah.
<jemfinch> french, spanish, romanian, italian, portugese -- those are romance.
* jemfinch heads off for dinner.
<Taaus> Is there any way to make a function infix in O'Caml? (As with the 'infix' operator in SML)
<jemfinch> Taaus: not a function. It has to be an operator (which means, among other things, no alphanumerics)
* jemfinch is gone.
<malc> Taaus: they wanted to implement haskell like syntax for infix functions in 3.04
<malc> but something hold them back
<Taaus> Okay, well, an operator would work as well :)
<malc> let (+) x y = x - y
<Taaus> Ah, coolness...
<Taaus> How do you specify precedence, then?
<malc> Its fixed
<malc> and defined my precedence of operators first char
<Taaus> :/
<malc> i.e. (+!+--) will have +'s precedence
<Taaus> Yeah, I can see that...