Thanks for the talk Erik; good stuff.
On Sun, Aug 29, 2004 at 07:52:57PM +1000, Erik de Castro Lopo wrote:
> [ .. ]
> let inter = intersect list_a list_b ;;
> Printf.printf "\nIntersect : %s\n" (String.concat ", " inter) ;;
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.
--
Matt
PS. if you're running fedora2 you can get ocaml, ocaml-docs
and camlp4 and other caml stuff from the main stable repo.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html