mfp changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.11.2 released | Inscription for OCaml Meeting 2010 is opened http://wiki.cocan.org/events/europe/ocamlmeetingparis2010
tmaedaZ is now known as tmaeda
pimmhogeling has quit [Read error: 110 (Connection timed out)]
avsm has joined #ocaml
avsm has quit [Remote closed the connection]
avsm has joined #ocaml
boscop has quit ["Gxis revido!"]
steve32 has joined #ocaml
avsm has quit ["Leaving."]
det has joined #ocaml
tmaeda is now known as tmaedaZ
<steve32> can someone give me some advice on how to do looping over an array, should I just use the for construct or is there a functional way similar to map
<olegfink> Array.map?
<steve32> oh thanks
<Alpounet> Array.{map,iter,iteri}
<steve32> I have some #defines in a c program i am converting to Ocaml. If I want to replace these what is a suitable replacement? just a let in the file where they are needed
<steve32> not sure how that works when you have multiple files being compiled
<det> steve32, the easiest thing to do is to use ocamlbuild
_unK has quit [Remote closed the connection]
Drk-Sd has joined #ocaml
mrvn_ has joined #ocaml
mrvn has quit [Read error: 113 (No route to host)]
pad has joined #ocaml
tmaedaZ is now known as tmaeda
mbishop has quit [Remote closed the connection]
mbishop has joined #ocaml
maskd has quit ["leaving"]
tmaeda is now known as tmaedaZ
steve32 has quit ["This computer has gone to sleep"]
djanderson has quit []
Drk-Sd has quit [Client Quit]
Mr_Awesome has joined #ocaml
valross has joined #ocaml
thrasibule has joined #ocaml
yakischloba1 has joined #ocaml
jeddhaberstro has quit [Client Quit]
steve32 has joined #ocaml
<steve32> When I try set a ref type in the interactive window it doesn't appear to be working
<steve32> I do the following
<steve32> let current_rand = ref 0;;
<steve32> val current_rand : int ref = {contents = 0}
<steve32> let current_rand = ref 0;;
<steve32> val current_rand : int ref = {contents = 0}
<steve32> let current_rand = ref 0;;
<steve32> val current_rand : int ref = {contents = 0}
<steve32> let current_rand = ref 0;;
<steve32> and I am seeing val current_rand : int = 5
<steve32> instead of
<steve32> val current_rand : int ref = { contents = 0 }
<steve32> any ideas why?
yakischloba has quit [Read error: 110 (Connection timed out)]
<steve32> not this is when I am running the *caml-toplevel* in emacs. I don't have this problem in a terminal shell
<det> # let a = ref 0;;
<det> val a : int ref = {contents = 0}
<det> # a := 1;;
<det> - : unit = ()
<det> # a;;
<det> - : int ref = {contents = 1}
<det> let doesn't update a reference, btw, := does
<steve32> i restarted the *caml-toplevel*
<steve32> I think I redefined ref by typing let ref a = 5;;
<steve32> incorrectly first
<steve32> thanks for your reply though
steve32 has quit ["Leaving"]
mutew has quit ["leaving"]
Amorphous has quit [Read error: 113 (No route to host)]
Amorphous has joined #ocaml
pad has quit [Remote closed the connection]
Submarine has joined #ocaml
ski_ has joined #ocaml
yakischloba1 has quit [Client Quit]
mbishop has quit [Remote closed the connection]
Mr_Awesome has quit ["Hilarity ensues."]
mbishop has joined #ocaml
Yoric has joined #ocaml
joewilliams is now known as joewilliams_away
avsm has joined #ocaml
avsm has quit ["Leaving."]
Yoric has quit []
fx_ has joined #ocaml
Submarine has quit [Connection timed out]
_zack has joined #ocaml
Narrenschiff has joined #ocaml
ikaros has joined #ocaml
Yoric has joined #ocaml
avsm has joined #ocaml
arturh has joined #ocaml
arturh has quit [Remote closed the connection]
boscop has joined #ocaml
avsm has quit ["Leaving."]
_zack has quit ["Leaving."]
valross has quit ["Ex-Chat"]
avsm has joined #ocaml
_zack has joined #ocaml
deavidsedice has quit [Client Quit]
_andre has joined #ocaml
derdon has joined #ocaml
ikaros has quit ["Leave the magic to Houdini"]
ikaros has joined #ocaml
munga has joined #ocaml
tmaedaZ is now known as tmaeda
mrvn_ is now known as mrvn
munga has quit [Read error: 110 (Connection timed out)]
maskd has joined #ocaml
tmaeda is now known as tmaedaZ
_zack has quit ["Leaving."]
msteele_ has quit [Remote closed the connection]
_unK has joined #ocaml
ikaros has quit [Remote closed the connection]
msteele has joined #ocaml
pimmhogeling has joined #ocaml
_unK has quit [Read error: 104 (Connection reset by peer)]
_unK has joined #ocaml
_zack has joined #ocaml
_zack1 has joined #ocaml
_zack has quit [Remote closed the connection]
pimmhogeling has quit [Remote closed the connection]
pimmhogeling has joined #ocaml
Narrenschiff has quit []
Smerdyakov has joined #ocaml
Smerdyakov has quit [Client Quit]
tmaedaZ is now known as tmaeda
mutew has joined #ocaml
Paczesiowa has joined #ocaml
npouillard has quit ["leaving"]
<Paczesiowa> hello, I'm looking for sources of pcl library (all I can find right now is some pdf slides), do any of you know where I can find it?
Smerdyakov has joined #ocaml
Smerdyakov has left #ocaml []
<thelema> Paczesiowa: svn://osprepo.janestcapital.com/osp/2007
Cromulent has joined #ocaml
zabivator_ has joined #ocaml
npouillard has joined #ocaml
deavid has joined #ocaml
mutew has quit [Read error: 110 (Connection timed out)]
<Paczesiowa> thelema: thank you
ikaros has joined #ocaml
mutew has joined #ocaml
drunK_ has joined #ocaml
zabivator_ has quit [Remote closed the connection]
_unK has quit [Read error: 110 (Connection timed out)]
Cromulent has quit []
ikaros has quit ["Leave the magic to Houdini"]
ttamttam has joined #ocaml
Paczesiowa has quit [Remote closed the connection]
ttamttam has quit ["Leaving."]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Read error: 110 (Connection timed out)]
mutew has quit [Read error: 60 (Operation timed out)]
joewilliams_away is now known as joewilliams
munga has joined #ocaml
ski_ has quit ["Lost terminal"]
mutew has joined #ocaml
yakischloba has joined #ocaml
drunK_ has quit [Remote closed the connection]
_unK has joined #ocaml
fx_ has quit [Read error: 110 (Connection timed out)]
ski_ has joined #ocaml
pflanze has joined #ocaml
avsm has quit ["Leaving."]
_zack1 has quit [Client Quit]
mutew has quit [Read error: 110 (Connection timed out)]
Modius has joined #ocaml
Modius has quit [SendQ exceeded]
Modius has joined #ocaml
ttamttam has joined #ocaml
derdon has quit []
itewsh has joined #ocaml
Yoric has quit []
Submarine_ has joined #ocaml
pflanze has quit ["Leaving"]
Narrenschiff has joined #ocaml
_andre has quit ["leaving"]
itewsh has quit [Client Quit]
pad has joined #ocaml
ttamttam has quit ["Leaving."]
tmaeda is now known as tmaedaZ
rwmjones_lptp_ has joined #ocaml
rwmjones has quit [Read error: 101 (Network is unreachable)]
jonafan has quit [Read error: 104 (Connection reset by peer)]
jonafan has joined #ocaml
ikaros has joined #ocaml
Submarine_ has quit ["Leaving"]
Yoric has joined #ocaml
zorgl has joined #ocaml
zorgl has quit [Client Quit]
itewsh has joined #ocaml
djanderson has joined #ocaml
pimmhogeling has quit [Read error: 110 (Connection timed out)]
pad has quit [Remote closed the connection]
joewilliams is now known as joewilliams_away
mutew has joined #ocaml
rwmjones_lptp_ has left #ocaml []
joewilliams_away is now known as joewilliams
derdon has joined #ocaml
itewsh has quit [Client Quit]
lokydor has joined #ocaml
Yoric has quit []
DWyatt has joined #ocaml
ikaros has quit ["Leave the magic to Houdini"]
pimmhogeling has joined #ocaml
djanderson has quit []