dark_light has quit [Remote closed the connection]
yondalf has joined #ocaml
yondalf_ has joined #ocaml
sponge45 has joined #ocaml
yondalf has quit [Read error: 60 (Operation timed out)]
<Mr_Awesome>
hello
dbueno has joined #ocaml
<dbueno>
Is there a way to run functions on variables which are in scope in ocamldebug?
<dbueno>
I have a global variable (a set) and I want its size....
<Mr_Awesome>
i havent used ocamldebug all that much
<Mr_Awesome>
nut iirc no
<Mr_Awesome>
*but
<dbueno>
Mr_Awesome: You prefer not using debuggers? How do you debug?
<Mr_Awesome>
dbueno: i havent done anything substantial with ocaml yet. print statements do me just fine for now
<dbueno>
Ah.
joshcryer has quit [Nick collision from services.]
joshcryer has joined #ocaml
<cypher23>
just a quick question for this code: http://pastie.caboo.se/22783 Can the first function be replaced with the second one? (i.e., are they equivalent?)
<cypher23>
yes, i know that one (that it exists), but I've never read it
<cypher23>
however, "Objective Caml for Scientists" is rather good as well
<buluca>
cypher23: does it make a somehow deep introduction to the language, programming styles, etc.?
<cypher23>
buluca, "Objective Caml for Scientists"?
<Mr_Awesome>
buluca: the one i posted is fairly in depth, it covers all parts of the language
<buluca>
cypher23: the O'Reilly book is a must-read, although slightly old book...
<buluca>
cypher23: yes
<Mr_Awesome>
ah ok
<yondalf>
yeah...it requires IE or "Communicator"...i don't read french so i don't know exactly what it's saying
<buluca>
yondalf: LOL
<cypher23>
buluca, i thought that the syntax of ocaml was explained pretty well and in an easy-to-understand-way, if you have already programmed in other (not neccessarily functional) languages
<buluca>
cypher23: but I've almost nothing practical programming experience...
<buluca>
buluca: and I wish to understand as well as possible the formals
<cypher23>
as for programming styles, it doesn't have a chapter or something similar dedicated to it, but the formatting and such is fairly consistent in the book
<cypher23>
buluca, hm. I wouldn't recommend it for learning to program, because a) it doesn't tell you anything about the fundamentals of programming and b) it's written in a rather terse, scientific style (which is good if all you want to learn is the syntax itself, otherwise, not so great)
<buluca>
cypher23: so it wouldn't be so bad to me
<cypher23>
buluca, maybe. I don't know :)
<cypher23>
if you want to learn functional programming in general, I've also read "Introduction to Functional Programming using Haskell", which I found rather good, but it's very math-heavy
<cypher23>
I'm also sure that there are quite a few books out there that teach FP with Scheme/Lisp
<buluca>
I'm weaker in maths than most haskellers, I think :)
<yondalf>
SICP is quite famous
<buluca>
SICP?
<cypher23>
buluca, so am I. by "math-heavy" I meant that they proove things like 'map' and 'foldr/foldl', but you can usually skip those parts
<cypher23>
Structured Interpretation of Computer Programs
<Mr_Awesome>
ugh, i couldnt handle haskell
<buluca>
I will continue to read the ora book anyway... maybe I'll purchase Objective Caml for Scientists
<Mr_Awesome>
i *despise* meaningful whitespace
<cypher23>
buluca, the only drawback to Objective Caml for Scientists is that it's quite expensive
<Mr_Awesome>
yeah what is that, like 160 usd?!
<buluca>
cypher23: argh, maybe I might find some 2nd-hand book
<cypher23>
85 British Pound = 125 Euros = 161 USD
<cypher23>
that price does include shipping though
<Mr_Awesome>
thats still ridiculously expensive
<buluca>
:-| 125 euros i definitely too much
<Mr_Awesome>
i read the intro, and the guy didnt even use proper grammar some of the time
<buluca>
Mr_Awesome: not for a non-informatics student
<cypher23>
Mr_Awesome, yes, but I found it to be worth it
<Mr_Awesome>
really
<cypher23>
yes
<buluca>
Mr_Awesome: if you meant not expensive
<cypher23>
does anyone know if there is a omnifunc for ocaml (vim7)?
yondalf has quit ["leaving"]
buluca has quit [Read error: 104 (Connection reset by peer)]
yondalf has joined #ocaml
ramkrsna has quit [Read error: 104 (Connection reset by peer)]
postalchris has joined #ocaml
yondalf has quit ["Lost terminal"]
ramkrsna has joined #ocaml
Smerdyakov has quit ["Leaving"]
dibblego has quit [Read error: 113 (No route to host)]
postalchris has quit [Read error: 110 (Connection timed out)]
descender has quit [Read error: 104 (Connection reset by peer)]
dibblego has joined #ocaml
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
Mr_Awesome has quit ["and the Awesome Level drops"]
Skal has joined #ocaml
sponge45 has quit ["zzzzzzzzzz"]
MisterC has joined #ocaml
Skal has quit [Read error: 104 (Connection reset by peer)]
pango has joined #ocaml
falconair has quit []
dibblego has quit ["Leaving"]
pango_ has quit [Remote closed the connection]
_velco has joined #ocaml
descender has joined #ocaml
seafood has joined #ocaml
<seafood>
Hey guys. I'm a Haskell programmer. I'm looking for an introduction to OCaml that would suit me. Any ideas?