Content deleted Content added
m →Examples: syntaxhighlight |
m link pattern matching using Find link |
||
Line 179:
</syntaxhighlight>
Records can be accessed either via projection or via [[pattern matching]]. The example below extracts the two fields <code>a1</code> and <code>a2</code> from the record <code>r</code>.
<syntaxhighlight lang="swift">
|