From f00d98896bdbf5964c21a2dadef17e70aaad7630 Mon Sep 17 00:00:00 2001 From: eiffel-org Date: Mon, 20 Dec 2021 14:46:19 +0000 Subject: [PATCH] Added examples for initialization from manifest arrays. Updated wikipage Release notes for EiffelStudio 21.11. (Signed-off-by:alexk). git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2349 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../Release-notes-for-EiffelStudio-21.11.wiki | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/documentation/21.11/eiffelstudio/eiffelstudio-reference/eiffelstudio-release-notes/Release-notes-for-EiffelStudio-21.11.wiki b/documentation/21.11/eiffelstudio/eiffelstudio-reference/eiffelstudio-release-notes/Release-notes-for-EiffelStudio-21.11.wiki index 5969b60d..aa508524 100644 --- a/documentation/21.11/eiffelstudio/eiffelstudio-reference/eiffelstudio-release-notes/Release-notes-for-EiffelStudio-21.11.wiki +++ b/documentation/21.11/eiffelstudio/eiffelstudio-reference/eiffelstudio-release-notes/Release-notes-for-EiffelStudio-21.11.wiki @@ -1,4 +1,4 @@ -[[Property:modification_date|Mon, 20 Dec 2021 14:42:38 GMT]] +[[Property:modification_date|Mon, 20 Dec 2021 14:46:18 GMT]] [[Property:publication_date|Tue, 09 Nov 2021 08:30:45 GMT]] [[Property:uuid|832C4922-780A-4A17-BA9C-61A9211EF6FF]] [[Property:title|Release notes for EiffelStudio 21.11]] @@ -28,8 +28,15 @@ * The vision2 library is now using GTK3 by default on non Windows platforms (linux, macosx, ...). To compile using GTK2, set the variable `vision_implementation=gtk2`. * The JSON library was improved with a new date time serializer, and the possibility to use the reflector serializer with JSON_BASIC_SERIALIZATION. * Various bug fixes and improvements on the EiffelWeb library, and the Eiffel CMS solution. -* Marked `make_from_iterable` as a conversion procedure from `ARRAY` for some container classes to enable initialization of the corresponding entities from manifest arrays of elements by reattachment. -* Added `{HASH_TABLE}.make_from_iterable_tuples` as a creation and conversion procedure from `ARRAY` to enable initialization from manifest arrays of tuples. +* Marked `make_from_iterable` and added `{HASH_TABLE}.make_from_iterable_tuples` as conversion procedures from `ARRAY` for some container classes to enable initialization from manifest arrays: +``` + x: LINKED_LIST [INTEGER] + y: HASH_TABLE [INTEGER, STRING] + ... + x := <<1, 1, 2, 3, 5, 8>> -- Create a list with elements 1, 1, 2, 3, 5, 8. + y := <<[23, "Peter"], [19, "Mary"], [36, "Tom"], [32, "Alice"]>> -- Indexed by person name. + +``` ----