It should be possible to use methods with multiple parameter lists and extension methods with GUInep
e.g.
def addManyParamLists(a: Int)(b: Int): Int =
a + b
enum IntTree:
case Leaf
case Node(left: IntTree, value: Int, right: IntTree)
extension (elem: Int)
def isInTreeExt(tree: IntTree): Boolean = tree match
case IntTree.Leaf => false
case IntTree.Node(left, value, right) =>
value == elem || elem.isInTreeExt(left) || elem.isInTreeExt(right)
It should be possible to use methods with multiple parameter lists and extension methods with GUInep
e.g.