maskd has quit [Remote host closed the connection]
pimmhogeling has quit [Ping timeout: 272 seconds]
mjonsson has joined #ocaml
maskd has joined #ocaml
ulfdoz has quit [Ping timeout: 245 seconds]
ulfdoz has joined #ocaml
tmaeda is now known as tmaedaZ
joewilliams_away is now known as joewilliams
munga has joined #ocaml
ulfdoz has quit [Ping timeout: 276 seconds]
rgrig has joined #ocaml
ttamttam has joined #ocaml
joewilliams is now known as joewilliams_away
<flux>
is the caml ml broken or just turned idle?
rgrig has quit [Quit: Leaving]
ikaros has quit [Quit: Leave the magic to Houdini]
mjonsson has quit [Read error: Connection reset by peer]
mjonsson has joined #ocaml
pimmhogeling has joined #ocaml
lokydor has quit [Ping timeout: 245 seconds]
lokydor has joined #ocaml
Narrenschiff has quit [Quit: Narrenschiff]
Modius has joined #ocaml
Modius has quit [Max SendQ exceeded]
Modius has joined #ocaml
munga has quit [Ping timeout: 246 seconds]
lokydor has quit [Remote host closed the connection]
lokydor has joined #ocaml
Associat0r has joined #ocaml
dark has quit [Ping timeout: 272 seconds]
dark has joined #ocaml
BigJ has quit [Remote host closed the connection]
BigJ has joined #ocaml
BigJ has quit [Remote host closed the connection]
ttamttam has quit [Quit: Leaving.]
avsm has joined #ocaml
Yoric has joined #ocaml
pimmhogeling has quit [Remote host closed the connection]
Yoric has quit [Quit: Yoric]
dob_ has joined #ocaml
dob_ has left #ocaml []
lokydor has quit [Ping timeout: 245 seconds]
gareth_0 has joined #ocaml
Yoric has joined #ocaml
<derdon>
in OCaml, constants do not exist (one could say that every value except references are constants, but they are not called like that). But is it a good style to write them in CAPITALS to show that these values should not be changed?
<flux>
no
<flux>
because you cannot :)
<derdon>
oh, right :)
<derdon>
names starting with an uppercase letter are treated as modules
<flux>
in any case, I think it's a pretty good assumption that you cannot change anything in ocaml.. at best you can change something that is being pointed :)
<derdon>
there are mutable structures
<derdon>
and references, as I already said
<flux>
yeah, I was being pedantic :)
pimmhogeling has joined #ocaml
gareth_0 has quit [Ping timeout: 245 seconds]
<flux>
I haven't seen such conventions being used in ocaml
<flux>
derdon, btw, which environment do you use to edit ocaml code?
<derdon>
flux: vim, cause I'm still too silly for emacs. at anytime I will learn emacs, too
<derdon>
but I'll need a book for that
<flux>
derdon, well, even in vim there is some type throwback system (C-c C-t in emacs)
<flux>
you should hook something like that up, because it's excellent :)
<derdon>
flux: I didn't try it. shame on me!
<flux>
basically you can move your cursor over any expression and get its type
<flux>
that should help you discover if a name points to a mutable value or not
<derdon>
how does it work in vim?
<flux>
I don't know
<flux>
in principle I guess it gives the same info