avn has quit [zelazny.freenode.net irc.freenode.net]
buggs has quit [zelazny.freenode.net irc.freenode.net]
mattam has quit [zelazny.freenode.net irc.freenode.net]
Demitar has quit [zelazny.freenode.net irc.freenode.net]
Defcon7 has quit [zelazny.freenode.net irc.freenode.net]
det has quit [zelazny.freenode.net irc.freenode.net]
mellum has quit [zelazny.freenode.net irc.freenode.net]
avn has joined #ocaml
buggs has joined #ocaml
mattam has joined #ocaml
Demitar has joined #ocaml
Defcon7 has joined #ocaml
det has joined #ocaml
mellum has joined #ocaml
karryall has quit [zelazny.freenode.net irc.freenode.net]
simon- has quit [zelazny.freenode.net irc.freenode.net]
karryall has joined #ocaml
simon- has joined #ocaml
daxie has quit [zelazny.freenode.net irc.freenode.net]
lus|wazze has quit [zelazny.freenode.net irc.freenode.net]
rox has quit [zelazny.freenode.net irc.freenode.net]
cm has quit [zelazny.freenode.net irc.freenode.net]
Maddas has quit [zelazny.freenode.net irc.freenode.net]
async has quit [zelazny.freenode.net irc.freenode.net]
brwill_zzz has quit [zelazny.freenode.net irc.freenode.net]
daxie has joined #ocaml
lus|wazze has joined #ocaml
rox has joined #ocaml
cm has joined #ocaml
brwill_zzz has joined #ocaml
async has joined #ocaml
Maddas has joined #ocaml
asqui has quit [Excess Flood]
malc has quit [zelazny.freenode.net irc.freenode.net]
malc has joined #ocaml
asqui has joined #ocaml
malc has quit [zelazny.freenode.net irc.freenode.net]
malc has joined #ocaml
karryall has quit [zelazny.freenode.net irc.freenode.net]
simon- has quit [zelazny.freenode.net irc.freenode.net]
karryall has joined #ocaml
simon- has joined #ocaml
Herrchen has quit [zelazny.freenode.net irc.freenode.net]
lam has quit [zelazny.freenode.net irc.freenode.net]
wax has quit [zelazny.freenode.net irc.freenode.net]
Herrchen has joined #ocaml
lam has joined #ocaml
wax has joined #ocaml
Kinners has quit [zelazny.freenode.net irc.freenode.net]
ayrnieu has quit [zelazny.freenode.net irc.freenode.net]
The-Fixer has quit [zelazny.freenode.net irc.freenode.net]
jrosdahl has quit [zelazny.freenode.net irc.freenode.net]
Hadaka has quit [zelazny.freenode.net irc.freenode.net]
Kinners has joined #ocaml
ayrnieu has joined #ocaml
The-Fixer has joined #ocaml
jrosdahl has joined #ocaml
Hadaka has joined #ocaml
lus|wazze has quit ["If we don't believe in freedom of expression for people we despise, we don't believe in it at all -- Noam Chomsky"]
malc has quit ["no reason"]
phubuh has joined #ocaml
Kinners has left #ocaml []
buggs is now known as buggs|afk
clog has joined #ocaml
teratorn has quit [calvino.freenode.net irc.freenode.net]
vect has quit [calvino.freenode.net irc.freenode.net]
mw_ has quit [calvino.freenode.net irc.freenode.net]
Smerdyakov has quit [calvino.freenode.net irc.freenode.net]
mw_ has joined #ocaml
teratorn has joined #ocaml
vect has joined #ocaml
Smerdyakov has joined #ocaml
lam has quit [calvino.freenode.net irc.freenode.net]
wax has quit [calvino.freenode.net irc.freenode.net]
wax has joined #ocaml
lam has joined #ocaml
daxie has quit [Read error: 60 (Operation timed out)]
mw_ has quit [calvino.freenode.net irc.freenode.net]
ayrnieu has quit [calvino.freenode.net irc.freenode.net]
Hadaka has quit [calvino.freenode.net irc.freenode.net]
jrosdahl has quit [calvino.freenode.net irc.freenode.net]
The-Fixer has quit [calvino.freenode.net irc.freenode.net]
Naked has joined #ocaml
Naked is now known as Hadaka
mw has joined #ocaml
The-Fixer has joined #ocaml
gim has joined #ocaml
Herrchen has joined #ocaml
mimosa has joined #ocaml
dax has joined #ocaml
asqui has quit ["Now I am gone..."]
jrosdahl has joined #ocaml
srv has joined #ocaml
durnew has joined #ocaml
mattam_ has joined #ocaml
mattam has quit [Read error: 110 (Connection timed out)]
karryall has quit [Remote closed the connection]
karryall has joined #ocaml
gim has quit [Read error: 60 (Operation timed out)]
mimosa has quit [Connection timed out]
mimosa has joined #ocaml
gim has joined #ocaml
dax has quit [Read error: 110 (Connection timed out)]
lus|wazze has joined #ocaml
__buggs has joined #ocaml
buggs|afk has quit [Read error: 110 (Connection timed out)]
__buggs is now known as buggs
dax has joined #ocaml
mattam_ is now known as mattam
two-face has joined #ocaml
Defcon7 has quit ["changing servers"]
Defcon7 has joined #ocaml
carm has joined #ocaml
<carm>
I know this sounds retarded, but how do I raise an integer to an arbitrary power? The Num module seems appropiate, but doesn't appear to exist in my top level...
<karryall>
carm: indeed, the standard library doesn't have such a function
<karryall>
you'll have to write it yourself
<carm>
can do, but makes no sense to me
<carm>
even SML has it - Real.pow I believe
<karryall>
you said integer
<karryall>
for floats, ocaml has the ** operator
<carm>
karrayall: this is true, I implicitly meant with casting if necessary
<carm>
thanks
<simon->
does SML have mutable Strings?
<dax>
hmm
* dax
sucks at ocaml
<lus|wazze>
[15:13:37] <simon-> does SML have mutable Strings? <--- in SML strings are immutable I believe ... but Im no expert at sml so dont take my word for it :)
<simon->
lus|wazze, they are.
<two-face>
forget about SML, dive into the future
<dax>
bleh can't figure this out :'(
<carm>
dax - what?
<dax>
trying to clean a function a bit...
<dax>
but running into type problems
<carm>
ahh
<dax>
most likely because i'm doing it the wrong way :p
<carm>
im trying to find a (log n) solution to find the nth digit of (a/b) (where a < b)
<dax>
hmm
<dax>
could you help a ocaml noob with a stupid problem then?
<carm>
I suppose
<dax>
i'll pm the function, don't want to flood the channel
teratorn has quit [calvino.freenode.net irc.freenode.net]
smkl has quit [calvino.freenode.net irc.freenode.net]
ez4 has joined #ocaml
<phubuh>
mattam: binding to java, like perl4caml
teratorn has joined #ocaml
smkl has joined #ocaml
<mattam>
k
<mattam>
yet more libraries for OCaml!
<phubuh>
indeed!
<phubuh>
I started working on it to use joscar, the best implementation of the AIM protocol
<Maddas>
cool, phubuh!
<phubuh>
it only handles methods that returns void, and there's no support for strings or arrays, or fields that aren't objects, but that should be easy (if very tedious and mechanical)
buggs has joined #ocaml
<Maddas>
phubuh: it's still cool :-)
<phubuh>
:-)
mimosa has quit ["I like core dumps"]
<phubuh>
bah. I have (`Foo bar) in a value. to check if it's a Foo, I do Field (v, 0) == hash_variant ("Foo"), correct?
<Riastradh>
Why not just 'match value with `Foo bar -> ... | baz -> ...'?
<phubuh>
oh, this is in C
<Riastradh>
Oh.
<Riastradh>
Why not just use OCaml? *smirk*
<phubuh>
JNI doesn't quite work with OCaml :(
<phubuh>
bah, I wish the docs were more clear about this
<phubuh>
I also wish I wouldn't spontaneously break things, but that's hopeless
gim has quit ["babaye"]
<mellum>
Mixing C and Ocaml is fun. I once had a bug that made my program crash reproducible after 6 hours of CPU time.
<carm>
mellum: are you claiming it is unstable? I wrote an ocaml wrapper for a poker hand evaluator library that was written in C. seems to work Ok for me.
<phubuh>
heh, yeah, it's pretty annoying. do you know if my hashing stuff is correct?
<carm>
phubuh - no idea. didnt have to deal with Field macro, fortunately.
<phubuh>
oh, hmm. I think the problem is elsewhere!