[standard-ml/en-en] Update list doc again

This commit is contained in:
David Pedersen 2013-12-05 11:50:45 +01:00
parent b8857e9266
commit 972a4bf802

View File

@ -104,7 +104,7 @@ val more_groups = ["Batman","Superman"] :: groups
(* Lists of the same kind can be appended using the @ ("append") operator *) (* Lists of the same kind can be appended using the @ ("append") operator *)
val guest_list = [ "Mom", "Dad" ] @ [ "Aunt", "Uncle" ] val guest_list = [ "Mom", "Dad" ] @ [ "Aunt", "Uncle" ]
(* This could have been done with the :: operator (pronounced "cons") *) (* This could have been done with the "cons" operator *)
val guest_list = "Mom" :: "Dad" :: [ "Aunt", "Uncle" ] val guest_list = "Mom" :: "Dad" :: [ "Aunt", "Uncle" ]
(* If you have many lists of the same kind, you can concatenate them all *) (* If you have many lists of the same kind, you can concatenate them all *)