elb
2014-04-12 17:15:22 UTC
Hi,
I woule be interested by discovering as many languages as possible having this
well known feature: handling some conditional structures as pattern matching in
the parameters (rather than if/case statements at the beginning of the function
itself).
I am aware that pattern matching is not the exact thing as union in Prolog, but
please, don't focus too much on this point. I am rather interested by
discovering more languages or families of languages.
As far as I know, Prolog seems to be one of the first language with this idea.
Were there some older languages?
It looks like following languages also use it: erlang, haskell, and maybe scala.
Do you see other languages following the same idea?
Regards,
fu2 comp.lang.functional
I woule be interested by discovering as many languages as possible having this
well known feature: handling some conditional structures as pattern matching in
the parameters (rather than if/case statements at the beginning of the function
itself).
I am aware that pattern matching is not the exact thing as union in Prolog, but
please, don't focus too much on this point. I am rather interested by
discovering more languages or families of languages.
As far as I know, Prolog seems to be one of the first language with this idea.
Were there some older languages?
It looks like following languages also use it: erlang, haskell, and maybe scala.
Do you see other languages following the same idea?
Regards,
fu2 comp.lang.functional
--
elb.
elb.