CafeKrem / PTL

Pharo transformation Language is a transformation model language like ALT tefkat.
MIT License
1 stars 1 forks source link

[Pattern-matching] a list matcher with one element should match only a list with this element #33

Closed CafeKrem closed 3 years ago

CafeKrem commented 3 years ago
pattern := { 1  } asMatcher 
(pattern match: { 1 }) isMatch 

should be true

(pattern match: { 1 . 2 }) isMatch

should be false