<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I often need <a class="moz-txt-link-freetext" href="maps:first(Map)">maps:first(Map)</a>, is there plan for it?</p>
<p>My current implementation is: </p>
<pre style="background-color:#ffffff;color:#000000;font-family:'Menlo';font-size:18,0pt;">first(<span style="color:#660e7a;">Map</span>) ->
<span style="color:#000080;font-weight:bold;">case </span><a class="moz-txt-link-freetext" href="maps:next(maps:iterator(">maps:next(maps:iterator(</a><span style="color:#660e7a;">Map</span>)) <span style="color:#000080;font-weight:bold;">of
</span><span style="color:#000080;font-weight:bold;"> </span>{<span style="color:#660e7a;">Key</span>,<span style="color:#660e7a;">Val</span>,<span style="color:#660e7a;">_</span>} -> {<span style="color:#660e7a;">Key</span>,<span style="color:#660e7a;">Val</span>};
none -> none
<span style="color:#000080;font-weight:bold;">end.
Create </span><span style="color:#000080;font-weight:bold;"><span style="color:#000080;font-weight:bold;">the iterator</span> always a new map?
</span></pre>
<pre class="moz-signature" cols="72">--
Grüße
Oliver Bollmann</pre>
</body>
</html>