<jnguy>
I thought you were showing me findlib... haha.
thesoko has quit [Read error: 104 (Connection reset by peer)]
thesoko has joined #ocaml
<psnively>
Well, that too. :-)
<jnguy>
hm. ledit is awesome.
<jnguy>
but... I don't have administrative rights on some of the machines I work on (I tested on a home machine). I'm working on installing camlp5, do you know if there is anyway to install it without being root, eg in the users home directory?
yminsky has joined #ocaml
<jnguy>
err found it. Thanks anyways.
joshcryer has quit [Read error: 104 (Connection reset by peer)]
yminsky has quit []
<psnively>
Oh, good.
<jnguy>
err... sorry to bother you some more... but it turns out the way I 'found', doesn't work.
<jnguy>
Would you happen to have any ideas?
<psnively>
Hmmmm.
<psnively>
./configure --prefix=<whatever>?
<psnively>
And no bother at all.
buluca has quit [Read error: 113 (No route to host)]
skal_ has joined #ocaml
psnively has quit []
skal has quit [Connection timed out]
Mr_Awesome has quit [Read error: 110 (Connection timed out)]
thesoko is now known as jgroszko
seafoodX has quit []
<jnguy>
arg
<jnguy>
nope, I tried that as well, but it looks like it needs access to the ocaml libraries and such.
<flux>
jnguy, atleast you should be able to install a whole ocaml installation to your home directory if you want
[azoic] has joined #ocaml
joshcryer has joined #ocaml
<jnguy>
hm. Yeah, I guess I'll just have to start from scratch.
<jnguy>
hm. I'm not sure I know how to use the list iterater correctly... is it List.iter somefunname list?
mooswa has joined #ocaml
<mooswa>
hi. is there a function like haskell's const? 'a -> 'b -> 'a ?
<mooswa>
trying to learn ocaml, having trouble to map Prelude to Pervasives ;-)
mooswa has left #ocaml []
mooswa has joined #ocaml
mooswa has left #ocaml []
Mr_Awesome has joined #ocaml
seafoodX has joined #ocaml
<jnguy>
Can someone give me an example of how to use list.iter?
[azoic] has quit [Read error: 110 (Connection timed out)]
<zvrba>
List.iter print_endline ["a";"b";"c"] ;;
<zvrba>
should work I guess
pants1 has quit [Read error: 110 (Connection timed out)]
<jnguy>
zvrba: thanks
<jnguy>
# let plus x = x + 5;;
<jnguy>
val plus : int -> int = <fun>
<jnguy>
# List.iter plus [1;2;3];;
<jnguy>
This expression has type int -> int but is here used with type int -> unit
<jnguy>
#
<jnguy>
hm?
<zvrba>
you want List.map
<jnguy>
hm.
<jnguy>
I'm gonna try that, thanks.
<zvrba>
how about reading a tutorial?
<jnguy>
any suggestions?
<jnguy>
I actually just started playing with Ocaml today for a class.
<zvrba>
ocaml-tutorial.org
<zvrba>
i think
<zvrba>
and look at the topic
pants1 has joined #ocaml
bebui_ has joined #ocaml
bebui has quit [Read error: 104 (Connection reset by peer)]
kelaouchi has quit ["leaving"]
pango has quit [Remote closed the connection]
pants1 has quit ["Leaving."]
pango has joined #ocaml
leo037 has joined #ocaml
suppaman has joined #ocaml
<suppaman>
hello
Abo-Marwan14 has quit [Remote closed the connection]