Re:A Conversation with Language Creators: Guido, James, Ande...
by tomp on Thursday April 04, 2019 @05:28AM
(#19570474)
Not sure that's pattern matching... I'd call that destructuring, for me pattern matching also means the ability to fail the match (and try another).
[ Parent
| on HN ]
Re:A Conversation with Language Creators: Guido, James, Ande...
by arethuza on Thursday April 04, 2019 @06:37AM
(#19570734)
Presumably Prolog's unification being one of the most powerful 'pattern matching' mechanisms?
http://www.dai.ed.ac.uk/groups/ssp/bookpages/quickprolog/nod...
[Amused to see that the page I linked to there is over 20 years old!]