Commit Graph

3 Commits

Author SHA1 Message Date
cce75927b8 Change list pattern matcher behavior for single element
match [1] {
  case [x]:
}
Before: x = [1]
After: x = 1

x will be the first (and single) value of an array
2024-01-12 20:52:30 +01:00
Victor
726e96488a Pattern matching по значениям списка 2016-06-25 19:36:07 +03:00
Victor
1bcbe1978a Добавлены примеры 2016-06-02 17:43:55 +03:00