On Mon, 30 Aug 2004 14:16:30 +1000
[EMAIL PROTECTED] wrote:

> Remembering Erik's remark that an Ocaml function only really takes
> one arg, I was playing around and found that you can replace:
> 
>       let inter = intersect list_a list_b
> 
> with
> 
>       let inter_acbd = intersect list_a ;;
>       let inter = inter_acbd list_b ;;
> 
> and get the same results, which also helped me understand 
> what that function is doing.

Yep, you got it.

> PS. if you're running fedora2 you can get ocaml, ocaml-docs
> and camlp4 and other caml stuff from the main stable repo.

On debian,

   apt-get install ocaml ocaml-base ocaml-interp \
        ocaml-native-compilers ocaml-tools

will get you started.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+-----------------------------------------------------------+
"Open source is an intellectual-property destroyer. I can't
imagine something that could be worse than this for the software
business and the intellectual-property business."
 -- Jim Allchin, Microsoft
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to