lus|wazze has quit ["Syntactic sugar causes cancer of the semicolon"]
<
teratorn>
well history would be nice, emacs key bindings, completion etc
lus|wazze has joined #ocaml
<
teratorn>
oh better than the default 'ocaml' toplevel
<
Demitar>
If you want to do it at the command line ledit is the recommended wrapper otherwise you could do it through emacs. =)
<
lus|wazze>
emacs :(((((
* Demitar
gives lus|wazze a copy of vi. =)
<
lus|wazze>
thanks but ive already got one
<
teratorn>
ledit's cool thanks
<
teratorn>
vi schmee
__DL__ has quit [Connection timed out]
__DL__ has joined #ocaml
Demitar has quit ["There are bubbles in the air..."]
lus|wazze has quit ["Syntactic sugar causes cancer of the semicolon"]
jao has quit ["gnite!"]
__DL__ has quit [Remote closed the connection]
Kinners has joined #ocaml
asqui has quit [Connection timed out]
det has quit ["Hey! Where'd my controlling terminal go?"]
rhil_ has joined #ocaml
rhil has quit [Read error: 104 (Connection reset by peer)]
Smerdyakov has quit ["sleep"]
TachYon has quit [Remote closed the connection]
Kinners has left #ocaml []
TachYon has joined #ocaml
TachYon has quit [Remote closed the connection]
TachYon has joined #ocaml
TachYon has quit [Read error: 104 (Connection reset by peer)]
rhil_ is now known as rhil_zzz
gene9 has joined #ocaml
docelic|sleepo is now known as docelic
docelic has quit ["later"]
<
teratorn>
let x = 1;;
<
teratorn>
while x < 100 do
<
teratorn>
let x = x + 1
<
teratorn>
i'm curious why that doesn't work, but if i use a reference for x it does?
docelic has joined #ocaml
Yurik has joined #ocaml
<
vegai>
teratorn: a referenced value can be modified
<
teratorn>
i'm curious what's the difference between this though
<
teratorn>
let x = 1;;
<
teratorn>
let x = 2;;
<
teratorn>
of course it's a
_different_ interger value
<
teratorn>
er right?
docelic has quit ["l8r"]
karryall has joined #ocaml
systems has joined #ocaml
karryall has quit [Read error: 110 (Connection timed out)]
systems has quit [Read error: 110 (Connection timed out)]
Yurik_ has joined #ocaml
Yurik has quit [Read error: 60 (Operation timed out)]
lus|wazze has joined #ocaml
Yurik_ is now known as Yurik
docelic has joined #ocaml
owll has joined #ocaml
asqui has joined #ocaml
cDlm has quit [leguin.freenode.net irc.freenode.net]
foxster has quit [leguin.freenode.net irc.freenode.net]
wax has quit [leguin.freenode.net irc.freenode.net]
themus has quit [leguin.freenode.net irc.freenode.net]
cDlm has joined #ocaml
foxster has joined #ocaml
wax has joined #ocaml
themus has joined #ocaml
docelic has quit ["study"]
karryall has joined #ocaml
docelic has joined #ocaml
docelic has quit ["Client Exiting"]
owll has quit [Read error: 60 (Operation timed out)]
owll has joined #ocaml
foxster has quit [Read error: 104 (Connection reset by peer)]
Smerdyakov has joined #ocaml
karryall has quit [leguin.freenode.net irc.freenode.net]
wax has quit [leguin.freenode.net irc.freenode.net]
themus has quit [leguin.freenode.net irc.freenode.net]
cDlm has quit [leguin.freenode.net irc.freenode.net]
emu has quit [leguin.freenode.net irc.freenode.net]
lus|wazze has quit [leguin.freenode.net irc.freenode.net]
Zadeh has quit [leguin.freenode.net irc.freenode.net]
teratorn has quit [leguin.freenode.net irc.freenode.net]
mellum has quit [leguin.freenode.net irc.freenode.net]
lam has quit [leguin.freenode.net irc.freenode.net]
Riastradh has quit [leguin.freenode.net irc.freenode.net]
polin8 has quit [leguin.freenode.net irc.freenode.net]
asqui has quit [leguin.freenode.net irc.freenode.net]
mrvn has quit [leguin.freenode.net irc.freenode.net]
mattam has quit [leguin.freenode.net irc.freenode.net]
drlion has quit [leguin.freenode.net irc.freenode.net]
pattern_ has quit [leguin.freenode.net irc.freenode.net]
smklsmkl has quit [leguin.freenode.net irc.freenode.net]
Yurik has quit [leguin.freenode.net irc.freenode.net]
rox has quit [leguin.freenode.net irc.freenode.net]
rhil_zzz has quit [Remote closed the connection]
karryall has joined #ocaml
themus has joined #ocaml
wax has joined #ocaml
cDlm has joined #ocaml
asqui has joined #ocaml
lus|wazze has joined #ocaml
Yurik has joined #ocaml
emu has joined #ocaml
teratorn has joined #ocaml
mellum has joined #ocaml
Zadeh has joined #ocaml
mrvn has joined #ocaml
mattam has joined #ocaml
Riastradh has joined #ocaml
polin8 has joined #ocaml
rox has joined #ocaml
smklsmkl has joined #ocaml
lam has joined #ocaml
pattern_ has joined #ocaml
drlion has joined #ocaml
lus|wazze has quit ["Syntactic sugar causes cancer of the semicolon"]
mellum has quit [Read error: 54 (Connection reset by peer)]
mellum has joined #ocaml
lus|wazze has joined #ocaml
owll has quit [Excess Flood]
rhil_zzz has joined #ocaml
owll has joined #ocaml
gl has quit [Connection timed out]
<
vegai>
how did that guy get reverse dns to no-ip...?
docelic has joined #ocaml
<
Smerdyakov>
It's all dependent on the reverse DNS setup of the server that has the delegation for his IP address.
<
Smerdyakov>
It has nothing to do with no-ip itself.
<
mellum>
I don't see anu no-ip...
<
Smerdyakov>
* gl (~foo@rewt.no-ip.org) Quit (Connection timed out)
gl has joined #ocaml
docelic has quit ["learn0r"]
owll has quit ["Client Exiting"]
docelic has joined #ocaml
TachYon has joined #ocaml
docelic has quit ["Client Exiting"]
docelic has joined #ocaml
anon` has joined #ocaml
karryall has quit [Killed (NickServ (Ghost: karryall_!~andrieu@2001:7a8:18b4:0:0:0:0:1))]
karryall has joined #ocaml
foxster has joined #ocaml
mattam_ has joined #ocaml
mattam has quit [Connection timed out]
mrvn_ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
docelic has quit ["learn0r"]
<
teratorn>
hello. anyone around?
<
teratorn>
i'm confused by something
<
Riastradh>
Confused by what?
<
teratorn>
say i've got let foo x =
<
teratorn>
while x < 10 do
<
teratorn>
let x = x - 1
<
teratorn>
lets say x is already 1
<
teratorn>
s/x - 1/x + 1
<
teratorn>
it won't work unless i use references
* Riastradh
points out that 'let' only binds, it does not rebind/mutate.
<
Riastradh>
It's not like '=' in C or Perl or something.
<
karryall>
that's not even syntactically correct
<
teratorn>
rebinding is fine
<
Riastradh>
Right -- there's no context in which for it to bind.
<
teratorn>
ok, well i'm missing the difference between doing that and doing let x = 1;; let x = 2;; etc..
<
Riastradh>
'let foo = bar' alone is a top-level definition -- you can't use it anywhere else.
<
teratorn>
anywhere, besides the toplevel?
<
teratorn>
if i have two let's in a row, that's rebinding, right?
<
Riastradh>
That's shadowing.
<
teratorn>
well, technically not in a row, one after the other.
Smerdyakov has quit ["computer has gone funny"]
Smerdyakov has joined #ocaml
vincenz has joined #ocaml
cDlm_ has joined #ocaml
docelic has joined #ocaml
cDlm has quit [Read error: 110 (Connection timed out)]
cDlm has joined #ocaml
cDlm_ has quit [Read error: 104 (Connection reset by peer)]
pnou_ has joined #ocaml
Yurik has quit [Read error: 113 (No route to host)]
vincenz has quit ["KVIrc 3.0.0-beta1 "Eve's Avatar""]
jao has joined #ocaml
docelic has quit ["Client Exiting"]
TachYon has quit ["Client Exiting"]
docelic has joined #ocaml
rox has quit [leguin.freenode.net irc.freenode.net]
rox has joined #ocaml
mattam_ is now known as mattam
docelic has quit ["later"]
mrvn_ is now known as mrvn
foxster has quit [Read error: 110 (Connection timed out)]
pnou_ has quit ["leaving"]