Re: ML like pattern matching