when using pattern matching, the situation is reversed: adding a new kind of node requires the modi?cation of all functions whichfunction pattern cation do pattern matching on the tree, to take the new node into account; on the other hand, adding a new operation is easy, by justpattern account other de?ning it as an independent function.
基于1个网页-相关网页
应用推荐