* Re: [Caml-list] Good introduction for the working programmer in Objective CAML
@ 2001-06-18 23:34 Arturo Borquez
0 siblings, 0 replies; 4+ messages in thread
From: Arturo Borquez @ 2001-06-18 23:34 UTC (permalink / raw)
To: caml-list
On Mon, 18 June 2001, "Mattias Waldau" wrote:
>
> Someone on this list pointed to
>
> www.cs.caltech.edu/cs134/cs134b/book.pdf
>
Also see the parent directory there are some exercises
suited for newbies.
www.cs.caltech.edu/cs134/cs134b/
Best Regards
Arturo
Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] Newbie: declarations
@ 2001-06-18 15:18 Remi VANICAT
2001-06-18 20:19 ` [Caml-list] Good introduction for the working programmer in Objective CAML Mattias Waldau
0 siblings, 1 reply; 4+ messages in thread
From: Remi VANICAT @ 2001-06-18 15:18 UTC (permalink / raw)
To: caml
leary@nwlink.com writes:
> On Sun, Jun 17, 2001 at 02:08:28PM +0400, Vitaly Lugovsky wrote:
> > It's an almost functional language, so please avoid variables. And use
> > references only when you really need 'em. Refer to the Guide about
> > references and named tuples.
>
> Here's what I'm doing now (comments welcome; yes, I have short cryptic
> names). I'm writing a robot for RealTimeBattle, and want to have access to
> information that isn't contained in every message the robot gets (and I'm
> not using threads or signals yet, fwiw). This information is updated all
> the time. (I'll post a link to the whole thing for criticism, once it
> actually does something interesting. :)
[...]
> let data : datarec = {
the type annotation is not mandatory :
let data =
is enough
[...]
>
> let initialize i = match i with
> 1 -> name "Bob"; color "00FF00 FF0000";
> debug "initialize 1\n";
> | 0 ->
> data.name <- "bob";
[...]
it may be better to have two function : one to initialize the robot,
the other to make the other stuff.
--
Rémi Vanicat
vanicat@labri.u-bordeaux.fr
http://dept-info.labri.u-bordeaux.fr/~vanicat
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Caml-list] Good introduction for the working programmer in Objective CAML
2001-06-18 15:18 [Caml-list] Newbie: declarations Remi VANICAT
@ 2001-06-18 20:19 ` Mattias Waldau
2001-06-18 20:35 ` Miles Egan
2001-06-18 20:49 ` leary
0 siblings, 2 replies; 4+ messages in thread
From: Mattias Waldau @ 2001-06-18 20:19 UTC (permalink / raw)
To: caml
Someone on this list pointed to
www.cs.caltech.edu/cs134/cs134b/book.pdf
I read it and it is actually the best english introduction to
Ocaml I seen sofar.
Short, concise and doesn't try to explain functional programming
so much, it just focuses on getting you up and running.
I think there should be a link on the first page of www.ocaml.org
recommending it.
/mattias waldau
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] Good introduction for the working programmer in Objective CAML
2001-06-18 20:19 ` [Caml-list] Good introduction for the working programmer in Objective CAML Mattias Waldau
@ 2001-06-18 20:35 ` Miles Egan
2001-06-18 20:49 ` leary
1 sibling, 0 replies; 4+ messages in thread
From: Miles Egan @ 2001-06-18 20:35 UTC (permalink / raw)
To: Mattias Waldau; +Cc: caml
On Mon, Jun 18, 2001 at 10:19:36PM +0200, Mattias Waldau wrote:
> Someone on this list pointed to
>
> www.cs.caltech.edu/cs134/cs134b/book.pdf
>
> I read it and it is actually the best english introduction to
> Ocaml I seen sofar.
This is an excellent introduction. I had no idea it existed. I'm mailing
the link to all the programmers in our department right now...
--
miles
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] Good introduction for the working programmer in Objective CAML
2001-06-18 20:19 ` [Caml-list] Good introduction for the working programmer in Objective CAML Mattias Waldau
2001-06-18 20:35 ` Miles Egan
@ 2001-06-18 20:49 ` leary
1 sibling, 0 replies; 4+ messages in thread
From: leary @ 2001-06-18 20:49 UTC (permalink / raw)
To: caml
On Mon, Jun 18, 2001 at 10:19:36PM +0200, Mattias Waldau wrote:
> www.cs.caltech.edu/cs134/cs134b/book.pdf
> I think there should be a link on the first page of www.ocaml.org
> recommending it.
Yes!
And may I suggest that the ocaml.org web page be reorganized a bit? It's
always seemed a bit confusing and disorganized to me. Should I write up a
new version for comparison? Suggestions?
note: I have zero power to change the actual page :)
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-06-18 23:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-18 23:34 [Caml-list] Good introduction for the working programmer in Objective CAML Arturo Borquez
-- strict thread matches above, loose matches on Subject: below --
2001-06-18 15:18 [Caml-list] Newbie: declarations Remi VANICAT
2001-06-18 20:19 ` [Caml-list] Good introduction for the working programmer in Objective CAML Mattias Waldau
2001-06-18 20:35 ` Miles Egan
2001-06-18 20:49 ` leary
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox