GreyLensman has joined #ocaml
GreyLensman has quit ["Leaving"]
skylan has joined #ocaml
cjohnson has joined #ocaml
CiscoKid has quit ["starving"]
smimou has quit ["?"]
sundeep has joined #ocaml
skylan has quit [Remote closed the connection]
skylan has joined #ocaml
CiscoKid has joined #ocaml
det_ has quit [Read error: 110 (Connection timed out)]
mt99 has quit [Read error: 104 (Connection reset by peer)]
reltuk has joined #ocaml
Nutssh has joined #ocaml
cmeme has quit [Read error: 104 (Connection reset by peer)]
monotonom has joined #ocaml
cmeme has joined #ocaml
Kinners has joined #ocaml
bk_ has quit ["leaving"]
monotonom has quit ["Don't talk to those who talk to themselves."]
Lemmih has quit [Read error: 60 (Operation timed out)]
Nutssh has quit ["Client exiting"]
Kinners has quit ["leaving"]
reltuk has quit [Remote closed the connection]
sundeep has quit [Read error: 54 (Connection reset by peer)]
sundeep has joined #ocaml
fab has joined #ocaml
fab is now known as _fab
CiscoKid has quit ["passing out"]
gim has joined #ocaml
smimou has joined #ocaml
kosmikus|away is now known as kosmikus
vezenchio has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
__DL__ has joined #ocaml
gl has left #ocaml []
gl has joined #ocaml
gl has quit [Remote closed the connection]
gl has joined #ocaml
cjohnson has joined #ocaml
Tram has quit ["I'll be back!"]
Shammah has joined #ocaml
Lemmih has joined #ocaml
mmc is now known as mmc_away
Tram has joined #ocaml
bk_ has joined #ocaml
noss has quit [Connection timed out]
noss has joined #ocaml
mmc_away is now known as mmc
platypus has quit [Read error: 60 (Operation timed out)]
Shammah has quit ["Leaving"]
platypus has joined #ocaml
tyl3r has quit [Remote closed the connection]
smimou has quit ["?"]
Snark has joined #ocaml
phj has joined #ocaml
phj has quit [Success]
smimou has joined #ocaml
smimou has quit ["?"]
<
c_ray_c>
is there a way to do hex numbers in ocaml?
<
_fab>
c_ray_c: 0xabcde
<
_fab>
for generation of hex numbers you can use printf
<
c_ray_c>
ok.. the manual doesn't say anything about hex syntax that I can find
<
c_ray_c>
if I want to add one, then and with 0xff, will this work?
<
c_ray_c>
land i + 1 0xff
<
c_ray_c>
or do I need parentheses?
<
smkl>
(i+1) land 0xff
<
smkl>
you don't need pars but...
<
c_ray_c>
er.. don't I? wouldn't i + 1 land 0xff be the same as i + (1 land 0xff)
CiscoKid has joined #ocaml
tea has quit [Read error: 110 (Connection timed out)]
tea has joined #ocaml
tea has quit [Client Quit]
fariseo has quit []
fariseo has joined #ocaml
tea has joined #ocaml
Dybbuk_ has left #ocaml []
Snark has left #ocaml []
smimou has joined #ocaml
smimou has quit [Client Quit]
hf_ has quit [Read error: 54 (Connection reset by peer)]
hf has joined #ocaml
TheDracle has joined #ocaml
tyl3r has joined #ocaml
<
tyl3r>
is it possible to get syntaxic colors wih tuareg ?
<
tyl3r>
just cant find the binding
<
tyl3r>
I only have colors in the compiler output
<
tyl3r>
not in the code, and M-x global-font-lock-mode is not enabling anything :/
<
Riastradh>
M-x font-lock-fontify-buffer, perhaps?
<
mattam>
maybe your in a terminal ? (ie. not X)
<
mattam>
s/your/you are/
Axioplase has joined #ocaml
<
Axioplase>
Chat Lu!
<
bk_>
is there a 'nicer' way to say let s3 = ref ""
<
mellum>
bk: nicer in what way?
<
bk_>
nicer way to create a ref to an empty string
<
mellum>
I still fail to see the problem.
<
bk_>
smt like ref String.make 1
<
Axioplase>
you call this 'nicer' ? :p
<
mellum>
If you want a reference to an empty string, let s3 = ref "" looks pretty much perfectly nice to me
<
bk_>
ok i' stick to that then
<
Axioplase>
anyone knows wether there is a simple bitmap font loader, or wether i have to create it?
multi_io has joined #ocaml
vezenchio has quit ["--- reality is that which, when you stop believing in it, doesn't go away ---"]
<
Axioplase>
how can i match if a char belongs to A-Z or 0-9?
<
Tram>
Axioplase with int_of_char
<
Axioplase>
but ain't there a possibility to do |[A-Z]-> foo() ? that'd help :)
noss has left #ocaml []
kosmikus is now known as kosmikus|away
<
bk_>
| 'a'..'z' | 'A'..'Z' ->
<
Tram>
hey! I just found it :p
<
Axioplase>
darn! too late :) i have made it manually :)
<
Axioplase>
though, it'd be "A".."Z" in my case. not sure it would work.
<
multi_io>
where is this documented?
<
bk_>
its mentioned in the o'reilly book
<
multi_io>
can't find it in the "patterns" section of the user's manual (section 6.6).
<
multi_io>
*the* o'reilly book? :)
<
multi_io>
I started using ocaml just today...
<
multi_io>
Want to read the mldonkey source code
<
async>
multi_io: check out the caltech tutorial
<
async>
if you just started learning ocaml, the mldonkey sources may be overwhelming
<
async>
hell, i dont even understand them, and ive been using ocaml for over a year
<
async>
although ive never actually taken a good look at them
<
multi_io>
I have some experience in Lisp and Haskell
<
multi_io>
in addition to the usual suspects
<
multi_io>
thx for the tutorial hint
<
multi_io>
I also didn't really look at the sources yet though
<
Axioplase>
it was hard enough for me the day I started ocaml :)