[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

Allow for Boolean Curry to work by supporting closures
Closed, ResolvedPublic

Description

I have the function Z10087/Boolean Curry defined as follows: It takes a Boolean function with two arguments and a Boolean, and returns a function that takes a single Boolean and applies then the function to the two provided Booleans.

I.e.

Boolean Curry(And, true) = lambda(x)

(Boolean Curry(And, true))(false) = lambda(false) = And(true, false) = false

This is the function definition:

{
    "Z1K1": "Z8",
    "Z8K1": [
      {
        "Z1K1": "Z17",
        "Z17K1": "Z8",
        "Z17K2": "Z10087K1",
        "Z17K3": {
          "Z1K1": "Z12",
          "Z12K1": [
            {
              "Z1K1": "Z11",
              "Z11K1": "Z1002",
              "Z11K2": "f"
            }
          ]
        }
      },
      {
        "Z1K1": "Z17",
        "Z17K1": "Z40",
        "Z17K2": "Z10087K2",
        "Z17K3": {
          "Z1K1": "Z12",
          "Z12K1": [
            {
              "Z1K1": "Z11",
              "Z11K1": "Z1002",
              "Z11K2": "b"
            }
          ]
        }
      }
    ],
    "Z8K2": "Z40",
    "Z8K3": [],
    "Z8K4": [
      "Z10088"
    ],
    "Z8K5": "Z10087"
}

This is the implementation (locally on Z10088):

{
  "Z1K1": "Z14",
  "Z14K1": "Z10087",
  "Z14K2": {
    "Z1K1": "Z8",
    "Z8K1": [
      {
        "Z1K1": "Z17",
        "Z17K1": "Z40",
        "Z17K2": "K1",
        "Z17K3": {
          "Z1K1": "Z12",
          "Z12K1": []
        }
      }
    ],
    "Z8K2": "Z40",
    "Z8K3": [],
    "Z8K4": [
      {
        "Z1K1": "Z14",
        "Z14K1": {
          "Z1K1": "Z7",
          "Z7K1": "Z10087",
          "Z10087K1": {
            "Z1K1": "Z18",
            "Z18K1": "Z10087K1"
          },
          "Z10087K2": {
            "Z1K1": "Z18",
            "Z18K1": "Z10087K2"
          }
        },
        "Z14K2": {
          "Z1K1": "Z7",
          "Z7K1": {
            "Z1K1": "Z18",
            "Z18K1": "Z10087K1"
          },
          "K1": {
            "Z1K1": "Z18",
            "Z18K1": "Z10087K2"
          },
          "K2": {
            "Z1K1": "Z18",
            "Z18K1": "K1"
          }
        }
      }
    ],
    "Z8K5": {
      "Z1K1": "Z7",
      "Z7K1": "Z10087",
      "Z10087K1": {
        "Z1K1": "Z18",
        "Z18K1": "Z10087K1"
      },
      "Z10087K2": {
        "Z1K1": "Z18",
        "Z18K1": "Z10087K2"
      }
    }
  }
}

When I try to evaluate Boolean Curry with Z10007/And and True, i.e. the following call:

{
  "Z1K1": "Z7",
  "Z7K1": "Z10087",
  "Z10087K1": {
    "Z1K1": "Z9",
    "Z9K1": "Z10007"
  },
  "Z10087K2": {
    "Z1K1": "Z9",
    "Z9K1": "Z41"
  }
}

I get the following error:

{
  "Z1K1": "Z22",
  "Z22K1": "Z23",
  "Z22K2": {
    "Z1K1": "Z5",
    "Z5K1": "Z502",
    "Z5K2": {
      "Z1K1": {
        "Z1K1": "Z7",
        "Z7K1": "Z885",
        "Z885K1": "Z502"
      },
      "K1": "Z509",
      "K2": {
        "Z1K1": "Z5",
        "Z5K1": "Z509",
        "Z5K2": {
          "Z1K1": {
            "Z1K1": "Z7",
            "Z7K1": "Z885",
            "Z885K1": "Z509"
          },
          "K1": [
            {
              "Z1K1": "Z5",
              "Z5K1": "Z526",
              "Z5K2": {
                "Z1K1": {
                  "Z1K1": "Z7",
                  "Z7K1": "Z885",
                  "Z885K1": "Z526"
                },
                "K1": {
                  "Z1K1": "Z39",
                  "Z39K1": "Z8K4"
                },
                "K2": {
                  "Z1K1": "Z5",
                  "Z5K1": "Z509",
                  "Z5K2": {
                    "Z1K1": {
                      "Z1K1": "Z7",
                      "Z7K1": "Z885",
                      "Z885K1": "Z509"
                    },
                    "K1": [
                      {
                        "Z1K1": "Z5",
                        "Z5K1": "Z526",
                        "Z5K2": {
                          "Z1K1": {
                            "Z1K1": "Z7",
                            "Z7K1": "Z885",
                            "Z885K1": "Z526"
                          },
                          "K1": {
                            "Z1K1": "Z39",
                            "Z39K1": "Z10K1"
                          },
                          "K2": {
                            "Z1K1": "Z5",
                            "Z5K1": "Z509",
                            "Z5K2": {
                              "Z1K1": {
                                "Z1K1": "Z7",
                                "Z7K1": "Z885",
                                "Z885K1": "Z509"
                              },
                              "K1": [
                                {
                                  "Z1K1": "Z5",
                                  "Z5K1": "Z526",
                                  "Z5K2": {
                                    "Z1K1": {
                                      "Z1K1": "Z7",
                                      "Z7K1": "Z885",
                                      "Z885K1": "Z526"
                                    },
                                    "K1": {
                                      "Z1K1": "Z39",
                                      "Z39K1": "Z14K2"
                                    },
                                    "K2": {
                                      "Z1K1": "Z5",
                                      "Z5K1": "Z509",
                                      "Z5K2": {
                                        "Z1K1": {
                                          "Z1K1": "Z7",
                                          "Z7K1": "Z885",
                                          "Z885K1": "Z509"
                                        },
                                        "K1": [
                                          {
                                            "Z1K1": "Z5",
                                            "Z5K1": "Z526",
                                            "Z5K2": {
                                              "Z1K1": {
                                                "Z1K1": "Z7",
                                                "Z7K1": "Z885",
                                                "Z885K1": "Z526"
                                              },
                                              "K1": {
                                                "Z1K1": "Z39",
                                                "Z39K1": "Z8K1"
                                              },
                                              "K2": {
                                                "Z1K1": "Z5",
                                                "Z5K1": "Z509",
                                                "Z5K2": {
                                                  "Z1K1": {
                                                    "Z1K1": "Z7",
                                                    "Z7K1": "Z885",
                                                    "Z885K1": "Z509"
                                                  },
                                                  "K1": [
                                                    {
                                                      "Z1K1": "Z5",
                                                      "Z5K1": "Z526",
                                                      "Z5K2": {
                                                        "Z1K1": {
                                                          "Z1K1": "Z7",
                                                          "Z7K1": "Z885",
                                                          "Z885K1": "Z526"
                                                        },
                                                        "K1": {
                                                          "Z1K1": "Z39",
                                                          "Z39K1": "Z10K1"
                                                        },
                                                        "K2": {
                                                          "Z1K1": "Z5",
                                                          "Z5K1": "Z509",
                                                          "Z5K2": {
                                                            "Z1K1": {
                                                              "Z1K1": "Z7",
                                                              "Z7K1": "Z885",
                                                              "Z885K1": "Z509"
                                                            },
                                                            "K1": [
                                                              {
                                                                "Z1K1": "Z5",
                                                                "Z5K1": "Z526",
                                                                "Z5K2": {
                                                                  "Z1K1": {
                                                                    "Z1K1": "Z7",
                                                                    "Z7K1": "Z885",
                                                                    "Z885K1": "Z526"
                                                                  },
                                                                  "K1": {
                                                                    "Z1K1": "Z39",
                                                                    "Z39K1": "Z17K2"
                                                                  },
                                                                  "K2": {
                                                                    "Z1K1": "Z5",
                                                                    "Z5K1": "Z509",
                                                                    "Z5K2": {
                                                                      "Z1K1": {
                                                                        "Z1K1": "Z7",
                                                                        "Z7K1": "Z885",
                                                                        "Z885K1": "Z509"
                                                                      },
                                                                      "K1": [
                                                                        {
                                                                          "Z1K1": "Z5",
                                                                          "Z5K1": "Z526",
                                                                          "Z5K2": {
                                                                            "Z1K1": {
                                                                              "Z1K1": "Z7",
                                                                              "Z7K1": "Z885",
                                                                              "Z885K1": "Z526"
                                                                            },
                                                                            "K1": {
                                                                              "Z1K1": "Z39",
                                                                              "Z39K1": "Z1K1"
                                                                            },
                                                                            "K2": {
                                                                              "Z1K1": "Z5",
                                                                              "Z5K1": "Z524",
                                                                              "Z5K2": {
                                                                                "Z1K1": {
                                                                                  "Z1K1": "Z7",
                                                                                  "Z7K1": "Z885",
                                                                                  "Z885K1": "Z524"
                                                                                },
                                                                                "K1": {
                                                                                  "Z1K1": "Z99",
                                                                                  "Z99K1": "Z9"
                                                                                }
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "Z1K1": "Z5",
                                                                          "Z5K1": "Z532",
                                                                          "Z5K2": {
                                                                            "Z1K1": {
                                                                              "Z1K1": "Z7",
                                                                              "Z7K1": "Z885",
                                                                              "Z885K1": "Z532"
                                                                            },
                                                                            "K1": {
                                                                              "Z1K1": "Z99",
                                                                              "Z99K1": {
                                                                                "Z1K1": "Z9",
                                                                                "Z9K1": "K1"
                                                                              }
                                                                            }
                                                                          }
                                                                        },
                                                                        {
                                                                          "Z1K1": "Z5",
                                                                          "Z5K1": "Z511",
                                                                          "Z5K2": {
                                                                            "Z1K1": {
                                                                              "Z1K1": "Z7",
                                                                              "Z7K1": "Z885",
                                                                              "Z885K1": "Z511"
                                                                            },
                                                                            "K1": {
                                                                              "Z1K1": "Z39",
                                                                              "Z39K1": "Z18K1"
                                                                            },
                                                                            "K2": {
                                                                              "Z1K1": "Z99",
                                                                              "Z99K1": {
                                                                                "Z1K1": "Z9",
                                                                                "Z9K1": "K1"
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      ]
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "Z1K1": "Z5",
                                                                "Z5K1": "Z532",
                                                                "Z5K2": {
                                                                  "Z1K1": {
                                                                    "Z1K1": "Z7",
                                                                    "Z7K1": "Z885",
                                                                    "Z885K1": "Z532"
                                                                  },
                                                                  "K1": {
                                                                    "Z1K1": "Z99",
                                                                    "Z99K1": {
                                                                      "Z1K1": "Z17",
                                                                      "Z17K1": "Z6",
                                                                      "Z17K2": {
                                                                        "Z1K1": "Z9",
                                                                        "Z9K1": "K1"
                                                                      },
                                                                      "Z17K3": {
                                                                        "Z1K1": "Z12",
                                                                        "Z12K1": []
                                                                      }
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "Z1K1": "Z5",
                                                                "Z5K1": "Z535",
                                                                "Z5K2": {
                                                                  "Z1K1": {
                                                                    "Z1K1": "Z7",
                                                                    "Z7K1": "Z885",
                                                                    "Z885K1": "Z535"
                                                                  },
                                                                  "K1": {
                                                                    "Z1K1": "Z99",
                                                                    "Z99K1": {
                                                                      "Z1K1": "Z17",
                                                                      "Z17K1": "Z6",
                                                                      "Z17K2": {
                                                                        "Z1K1": "Z9",
                                                                        "Z9K1": "K1"
                                                                      },
                                                                      "Z17K3": {
                                                                        "Z1K1": "Z12",
                                                                        "Z12K1": []
                                                                      }
                                                                    }
                                                                  }
                                                                }
                                                              },
                                                              {
                                                                "Z1K1": "Z5",
                                                                "Z5K1": "Z511",
                                                                "Z5K2": {
                                                                  "Z1K1": {
                                                                    "Z1K1": "Z7",
                                                                    "Z7K1": "Z885",
                                                                    "Z885K1": "Z511"
                                                                  },
                                                                  "K1": {
                                                                    "Z1K1": "Z39",
                                                                    "Z39K1": "Z18K1"
                                                                  },
                                                                  "K2": {
                                                                    "Z1K1": "Z99",
                                                                    "Z99K1": {
                                                                      "Z1K1": "Z17",
                                                                      "Z17K1": "Z6",
                                                                      "Z17K2": {
                                                                        "Z1K1": "Z9",
                                                                        "Z9K1": "K1"
                                                                      },
                                                                      "Z17K3": {
                                                                        "Z1K1": "Z12",
                                                                        "Z12K1": []
                                                                      }
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            ]
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "Z1K1": "Z5",
                                                      "Z5K1": "Z532",
                                                      "Z5K2": {
                                                        "Z1K1": {
                                                          "Z1K1": "Z7",
                                                          "Z7K1": "Z885",
                                                          "Z885K1": "Z532"
                                                        },
                                                        "K1": {
                                                          "Z1K1": "Z99",
                                                          "Z99K1": {
                                                            "Z1K1": "Z10",
                                                            "Z10K1": {
                                                              "Z1K1": "Z17",
                                                              "Z17K1": "Z6",
                                                              "Z17K2": {
                                                                "Z1K1": "Z9",
                                                                "Z9K1": "K1"
                                                              },
                                                              "Z17K3": {
                                                                "Z1K1": "Z12",
                                                                "Z12K1": []
                                                              }
                                                            },
                                                            "Z10K2": []
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "Z1K1": "Z5",
                                                      "Z5K1": "Z535",
                                                      "Z5K2": {
                                                        "Z1K1": {
                                                          "Z1K1": "Z7",
                                                          "Z7K1": "Z885",
                                                          "Z885K1": "Z535"
                                                        },
                                                        "K1": {
                                                          "Z1K1": "Z99",
                                                          "Z99K1": {
                                                            "Z1K1": "Z10",
                                                            "Z10K1": {
                                                              "Z1K1": "Z17",
                                                              "Z17K1": "Z6",
                                                              "Z17K2": {
                                                                "Z1K1": "Z9",
                                                                "Z9K1": "K1"
                                                              },
                                                              "Z17K3": {
                                                                "Z1K1": "Z12",
                                                                "Z12K1": []
                                                              }
                                                            },
                                                            "Z10K2": []
                                                          }
                                                        }
                                                      }
                                                    },
                                                    {
                                                      "Z1K1": "Z5",
                                                      "Z5K1": "Z511",
                                                      "Z5K2": {
                                                        "Z1K1": {
                                                          "Z1K1": "Z7",
                                                          "Z7K1": "Z885",
                                                          "Z885K1": "Z511"
                                                        },
                                                        "K1": {
                                                          "Z1K1": "Z39",
                                                          "Z39K1": "Z18K1"
                                                        },
                                                        "K2": {
                                                          "Z1K1": "Z99",
                                                          "Z99K1": {
                                                            "Z1K1": "Z10",
                                                            "Z10K1": {
                                                              "Z1K1": "Z17",
                                                              "Z17K1": "Z6",
                                                              "Z17K2": {
                                                                "Z1K1": "Z9",
                                                                "Z9K1": "K1"
                                                              },
                                                              "Z17K3": {
                                                                "Z1K1": "Z12",
                                                                "Z12K1": []
                                                              }
                                                            },
                                                            "Z10K2": []
                                                          }
                                                        }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "Z1K1": "Z5",
                                            "Z5K1": "Z532",
                                            "Z5K2": {
                                              "Z1K1": {
                                                "Z1K1": "Z7",
                                                "Z7K1": "Z885",
                                                "Z885K1": "Z532"
                                              },
                                              "K1": {
                                                "Z1K1": "Z99",
                                                "Z99K1": {
                                                  "Z1K1": "Z8",
                                                  "Z8K1": {
                                                    "Z1K1": "Z10",
                                                    "Z10K1": {
                                                      "Z1K1": "Z17",
                                                      "Z17K1": "Z6",
                                                      "Z17K2": {
                                                        "Z1K1": "Z9",
                                                        "Z9K1": "K1"
                                                      },
                                                      "Z17K3": {
                                                        "Z1K1": "Z12",
                                                        "Z12K1": []
                                                      }
                                                    },
                                                    "Z10K2": []
                                                  },
                                                  "Z8K2": "Z40",
                                                  "Z8K3": [],
                                                  "Z8K4": {
                                                    "Z1K1": "Z10",
                                                    "Z10K1": {
                                                      "Z1K1": "Z14",
                                                      "Z14K1": {
                                                        "Z1K1": "Z7",
                                                        "Z7K1": "Z10087",
                                                        "Z10087K1": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": "Z10087K1"
                                                        },
                                                        "Z10087K2": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": "Z10087K2"
                                                        }
                                                      },
                                                      "Z14K2": {
                                                        "Z1K1": "Z7",
                                                        "Z7K1": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": "Z10087K1"
                                                        },
                                                        "Z7K2": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": {
                                                            "Z1K1": "Z9",
                                                            "Z9K1": "K1"
                                                          }
                                                        },
                                                        "K1": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": "Z10087K2"
                                                        }
                                                      }
                                                    },
                                                    "Z10K2": []
                                                  },
                                                  "Z8K5": {
                                                    "Z1K1": "Z7",
                                                    "Z7K1": "Z10087",
                                                    "Z10087K1": {
                                                      "Z1K1": "Z18",
                                                      "Z18K1": "Z10087K1"
                                                    },
                                                    "Z10087K2": {
                                                      "Z1K1": "Z18",
                                                      "Z18K1": "Z10087K2"
                                                    }
                                                  }
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "Z1K1": "Z5",
                                            "Z5K1": "Z535",
                                            "Z5K2": {
                                              "Z1K1": {
                                                "Z1K1": "Z7",
                                                "Z7K1": "Z885",
                                                "Z885K1": "Z535"
                                              },
                                              "K1": {
                                                "Z1K1": "Z99",
                                                "Z99K1": {
                                                  "Z1K1": "Z8",
                                                  "Z8K1": {
                                                    "Z1K1": "Z10",
                                                    "Z10K1": {
                                                      "Z1K1": "Z17",
                                                      "Z17K1": "Z6",
                                                      "Z17K2": {
                                                        "Z1K1": "Z9",
                                                        "Z9K1": "K1"
                                                      },
                                                      "Z17K3": {
                                                        "Z1K1": "Z12",
                                                        "Z12K1": []
                                                      }
                                                    },
                                                    "Z10K2": []
                                                  },
                                                  "Z8K2": "Z40",
                                                  "Z8K3": [],
                                                  "Z8K4": {
                                                    "Z1K1": "Z10",
                                                    "Z10K1": {
                                                      "Z1K1": "Z14",
                                                      "Z14K1": {
                                                        "Z1K1": "Z7",
                                                        "Z7K1": "Z10087",
                                                        "Z10087K1": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": "Z10087K1"
                                                        },
                                                        "Z10087K2": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": "Z10087K2"
                                                        }
                                                      },
                                                      "Z14K2": {
                                                        "Z1K1": "Z7",
                                                        "Z7K1": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": "Z10087K1"
                                                        },
                                                        "Z7K2": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": {
                                                            "Z1K1": "Z9",
                                                            "Z9K1": "K1"
                                                          }
                                                        },
                                                        "K1": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": "Z10087K2"
                                                        }
                                                      }
                                                    },
                                                    "Z10K2": []
                                                  },
                                                  "Z8K5": {
                                                    "Z1K1": "Z7",
                                                    "Z7K1": "Z10087",
                                                    "Z10087K1": {
                                                      "Z1K1": "Z18",
                                                      "Z18K1": "Z10087K1"
                                                    },
                                                    "Z10087K2": {
                                                      "Z1K1": "Z18",
                                                      "Z18K1": "Z10087K2"
                                                    }
                                                  }
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "Z1K1": "Z5",
                                            "Z5K1": "Z511",
                                            "Z5K2": {
                                              "Z1K1": {
                                                "Z1K1": "Z7",
                                                "Z7K1": "Z885",
                                                "Z885K1": "Z511"
                                              },
                                              "K1": {
                                                "Z1K1": "Z39",
                                                "Z39K1": "Z18K1"
                                              },
                                              "K2": {
                                                "Z1K1": "Z99",
                                                "Z99K1": {
                                                  "Z1K1": "Z8",
                                                  "Z8K1": {
                                                    "Z1K1": "Z10",
                                                    "Z10K1": {
                                                      "Z1K1": "Z17",
                                                      "Z17K1": "Z6",
                                                      "Z17K2": {
                                                        "Z1K1": "Z9",
                                                        "Z9K1": "K1"
                                                      },
                                                      "Z17K3": {
                                                        "Z1K1": "Z12",
                                                        "Z12K1": []
                                                      }
                                                    },
                                                    "Z10K2": []
                                                  },
                                                  "Z8K2": "Z40",
                                                  "Z8K3": [],
                                                  "Z8K4": {
                                                    "Z1K1": "Z10",
                                                    "Z10K1": {
                                                      "Z1K1": "Z14",
                                                      "Z14K1": {
                                                        "Z1K1": "Z7",
                                                        "Z7K1": "Z10087",
                                                        "Z10087K1": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": "Z10087K1"
                                                        },
                                                        "Z10087K2": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": "Z10087K2"
                                                        }
                                                      },
                                                      "Z14K2": {
                                                        "Z1K1": "Z7",
                                                        "Z7K1": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": "Z10087K1"
                                                        },
                                                        "Z7K2": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": {
                                                            "Z1K1": "Z9",
                                                            "Z9K1": "K1"
                                                          }
                                                        },
                                                        "K1": {
                                                          "Z1K1": "Z18",
                                                          "Z18K1": "Z10087K2"
                                                        }
                                                      }
                                                    },
                                                    "Z10K2": []
                                                  },
                                                  "Z8K5": {
                                                    "Z1K1": "Z7",
                                                    "Z7K1": "Z10087",
                                                    "Z10087K1": {
                                                      "Z1K1": "Z18",
                                                      "Z18K1": "Z10087K1"
                                                    },
                                                    "Z10087K2": {
                                                      "Z1K1": "Z18",
                                                      "Z18K1": "Z10087K2"
                                                    }
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "Z1K1": "Z5",
                                  "Z5K1": "Z532",
                                  "Z5K2": {
                                    "Z1K1": {
                                      "Z1K1": "Z7",
                                      "Z7K1": "Z885",
                                      "Z885K1": "Z532"
                                    },
                                    "K1": {
                                      "Z1K1": "Z99",
                                      "Z99K1": {
                                        "Z1K1": "Z14",
                                        "Z14K1": "Z10087",
                                        "Z14K2": {
                                          "Z1K1": "Z8",
                                          "Z8K1": {
                                            "Z1K1": "Z10",
                                            "Z10K1": {
                                              "Z1K1": "Z17",
                                              "Z17K1": "Z6",
                                              "Z17K2": {
                                                "Z1K1": "Z9",
                                                "Z9K1": "K1"
                                              },
                                              "Z17K3": {
                                                "Z1K1": "Z12",
                                                "Z12K1": []
                                              }
                                            },
                                            "Z10K2": []
                                          },
                                          "Z8K2": "Z40",
                                          "Z8K3": [],
                                          "Z8K4": {
                                            "Z1K1": "Z10",
                                            "Z10K1": {
                                              "Z1K1": "Z14",
                                              "Z14K1": {
                                                "Z1K1": "Z7",
                                                "Z7K1": "Z10087",
                                                "Z10087K1": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": "Z10087K1"
                                                },
                                                "Z10087K2": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": "Z10087K2"
                                                }
                                              },
                                              "Z14K2": {
                                                "Z1K1": "Z7",
                                                "Z7K1": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": "Z10087K1"
                                                },
                                                "Z7K2": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": {
                                                    "Z1K1": "Z9",
                                                    "Z9K1": "K1"
                                                  }
                                                },
                                                "K1": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": "Z10087K2"
                                                }
                                              }
                                            },
                                            "Z10K2": []
                                          },
                                          "Z8K5": {
                                            "Z1K1": "Z7",
                                            "Z7K1": "Z10087",
                                            "Z10087K1": {
                                              "Z1K1": "Z18",
                                              "Z18K1": "Z10087K1"
                                            },
                                            "Z10087K2": {
                                              "Z1K1": "Z18",
                                              "Z18K1": "Z10087K2"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "Z1K1": "Z5",
                                  "Z5K1": "Z535",
                                  "Z5K2": {
                                    "Z1K1": {
                                      "Z1K1": "Z7",
                                      "Z7K1": "Z885",
                                      "Z885K1": "Z535"
                                    },
                                    "K1": {
                                      "Z1K1": "Z99",
                                      "Z99K1": {
                                        "Z1K1": "Z14",
                                        "Z14K1": "Z10087",
                                        "Z14K2": {
                                          "Z1K1": "Z8",
                                          "Z8K1": {
                                            "Z1K1": "Z10",
                                            "Z10K1": {
                                              "Z1K1": "Z17",
                                              "Z17K1": "Z6",
                                              "Z17K2": {
                                                "Z1K1": "Z9",
                                                "Z9K1": "K1"
                                              },
                                              "Z17K3": {
                                                "Z1K1": "Z12",
                                                "Z12K1": []
                                              }
                                            },
                                            "Z10K2": []
                                          },
                                          "Z8K2": "Z40",
                                          "Z8K3": [],
                                          "Z8K4": {
                                            "Z1K1": "Z10",
                                            "Z10K1": {
                                              "Z1K1": "Z14",
                                              "Z14K1": {
                                                "Z1K1": "Z7",
                                                "Z7K1": "Z10087",
                                                "Z10087K1": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": "Z10087K1"
                                                },
                                                "Z10087K2": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": "Z10087K2"
                                                }
                                              },
                                              "Z14K2": {
                                                "Z1K1": "Z7",
                                                "Z7K1": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": "Z10087K1"
                                                },
                                                "Z7K2": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": {
                                                    "Z1K1": "Z9",
                                                    "Z9K1": "K1"
                                                  }
                                                },
                                                "K1": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": "Z10087K2"
                                                }
                                              }
                                            },
                                            "Z10K2": []
                                          },
                                          "Z8K5": {
                                            "Z1K1": "Z7",
                                            "Z7K1": "Z10087",
                                            "Z10087K1": {
                                              "Z1K1": "Z18",
                                              "Z18K1": "Z10087K1"
                                            },
                                            "Z10087K2": {
                                              "Z1K1": "Z18",
                                              "Z18K1": "Z10087K2"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "Z1K1": "Z5",
                                  "Z5K1": "Z511",
                                  "Z5K2": {
                                    "Z1K1": {
                                      "Z1K1": "Z7",
                                      "Z7K1": "Z885",
                                      "Z885K1": "Z511"
                                    },
                                    "K1": {
                                      "Z1K1": "Z39",
                                      "Z39K1": "Z18K1"
                                    },
                                    "K2": {
                                      "Z1K1": "Z99",
                                      "Z99K1": {
                                        "Z1K1": "Z14",
                                        "Z14K1": "Z10087",
                                        "Z14K2": {
                                          "Z1K1": "Z8",
                                          "Z8K1": {
                                            "Z1K1": "Z10",
                                            "Z10K1": {
                                              "Z1K1": "Z17",
                                              "Z17K1": "Z6",
                                              "Z17K2": {
                                                "Z1K1": "Z9",
                                                "Z9K1": "K1"
                                              },
                                              "Z17K3": {
                                                "Z1K1": "Z12",
                                                "Z12K1": []
                                              }
                                            },
                                            "Z10K2": []
                                          },
                                          "Z8K2": "Z40",
                                          "Z8K3": [],
                                          "Z8K4": {
                                            "Z1K1": "Z10",
                                            "Z10K1": {
                                              "Z1K1": "Z14",
                                              "Z14K1": {
                                                "Z1K1": "Z7",
                                                "Z7K1": "Z10087",
                                                "Z10087K1": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": "Z10087K1"
                                                },
                                                "Z10087K2": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": "Z10087K2"
                                                }
                                              },
                                              "Z14K2": {
                                                "Z1K1": "Z7",
                                                "Z7K1": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": "Z10087K1"
                                                },
                                                "Z7K2": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": {
                                                    "Z1K1": "Z9",
                                                    "Z9K1": "K1"
                                                  }
                                                },
                                                "K1": {
                                                  "Z1K1": "Z18",
                                                  "Z18K1": "Z10087K2"
                                                }
                                              }
                                            },
                                            "Z10K2": []
                                          },
                                          "Z8K5": {
                                            "Z1K1": "Z7",
                                            "Z7K1": "Z10087",
                                            "Z10087K1": {
                                              "Z1K1": "Z18",
                                              "Z18K1": "Z10087K1"
                                            },
                                            "Z10087K2": {
                                              "Z1K1": "Z18",
                                              "Z18K1": "Z10087K2"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              ]
                            }
                          }
                        }
                      },
                      {
                        "Z1K1": "Z5",
                        "Z5K1": "Z525",
                        "Z5K2": {
                          "Z1K1": {
                            "Z1K1": "Z7",
                            "Z7K1": "Z885",
                            "Z885K1": "Z525"
                          },
                          "K1": "Z10K1"
                        }
                      },
                      {
                        "Z1K1": "Z5",
                        "Z5K1": "Z511",
                        "Z5K2": {
                          "Z1K1": {
                            "Z1K1": "Z7",
                            "Z7K1": "Z885",
                            "Z885K1": "Z511"
                          },
                          "K1": {
                            "Z1K1": "Z39",
                            "Z39K1": {
                              "Z1K1": "Z6",
                              "Z6K1": "K1"
                            }
                          },
                          "K2": {
                            "Z1K1": "Z99",
                            "Z99K1": {
                              "Z1K1": "Z10",
                              "Z10K1": {
                                "Z1K1": "Z14",
                                "Z14K1": "Z10087",
                                "Z14K2": {
                                  "Z1K1": "Z8",
                                  "Z8K1": {
                                    "Z1K1": "Z10",
                                    "Z10K1": {
                                      "Z1K1": "Z17",
                                      "Z17K1": "Z6",
                                      "Z17K2": {
                                        "Z1K1": "Z9",
                                        "Z9K1": "K1"
                                      },
                                      "Z17K3": {
                                        "Z1K1": "Z12",
                                        "Z12K1": []
                                      }
                                    },
                                    "Z10K2": []
                                  },
                                  "Z8K2": "Z40",
                                  "Z8K3": [],
                                  "Z8K4": {
                                    "Z1K1": "Z10",
                                    "Z10K1": {
                                      "Z1K1": "Z14",
                                      "Z14K1": {
                                        "Z1K1": "Z7",
                                        "Z7K1": "Z10087",
                                        "Z10087K1": {
                                          "Z1K1": "Z18",
                                          "Z18K1": "Z10087K1"
                                        },
                                        "Z10087K2": {
                                          "Z1K1": "Z18",
                                          "Z18K1": "Z10087K2"
                                        }
                                      },
                                      "Z14K2": {
                                        "Z1K1": "Z7",
                                        "Z7K1": {
                                          "Z1K1": "Z18",
                                          "Z18K1": "Z10087K1"
                                        },
                                        "Z7K2": {
                                          "Z1K1": "Z18",
                                          "Z18K1": {
                                            "Z1K1": "Z9",
                                            "Z9K1": "K1"
                                          }
                                        },
                                        "K1": {
                                          "Z1K1": "Z18",
                                          "Z18K1": "Z10087K2"
                                        }
                                      }
                                    },
                                    "Z10K2": []
                                  },
                                  "Z8K5": {
                                    "Z1K1": "Z7",
                                    "Z7K1": "Z10087",
                                    "Z10087K1": {
                                      "Z1K1": "Z18",
                                      "Z18K1": "Z10087K1"
                                    },
                                    "Z10087K2": {
                                      "Z1K1": "Z18",
                                      "Z18K1": "Z10087K2"
                                    }
                                  }
                                }
                              },
                              "Z10K2": []
                            }
                          }
                        }
                      },
                      {
                        "Z1K1": "Z5",
                        "Z5K1": "Z535",
                        "Z5K2": {
                          "Z1K1": {
                            "Z1K1": "Z7",
                            "Z7K1": "Z885",
                            "Z885K1": "Z535"
                          },
                          "K1": {
                            "Z1K1": "Z99",
                            "Z99K1": {
                              "Z1K1": "Z10",
                              "Z10K1": {
                                "Z1K1": "Z14",
                                "Z14K1": "Z10087",
                                "Z14K2": {
                                  "Z1K1": "Z8",
                                  "Z8K1": {
                                    "Z1K1": "Z10",
                                    "Z10K1": {
                                      "Z1K1": "Z17",
                                      "Z17K1": "Z6",
                                      "Z17K2": {
                                        "Z1K1": "Z9",
                                        "Z9K1": "K1"
                                      },
                                      "Z17K3": {
                                        "Z1K1": "Z12",
                                        "Z12K1": []
                                      }
                                    },
                                    "Z10K2": []
                                  },
                                  "Z8K2": "Z40",
                                  "Z8K3": [],
                                  "Z8K4": {
                                    "Z1K1": "Z10",
                                    "Z10K1": {
                                      "Z1K1": "Z14",
                                      "Z14K1": {
                                        "Z1K1": "Z7",
                                        "Z7K1": "Z10087",
                                        "Z10087K1": {
                                          "Z1K1": "Z18",
                                          "Z18K1": "Z10087K1"
                                        },
                                        "Z10087K2": {
                                          "Z1K1": "Z18",
                                          "Z18K1": "Z10087K2"
                                        }
                                      },
                                      "Z14K2": {
                                        "Z1K1": "Z7",
                                        "Z7K1": {
                                          "Z1K1": "Z18",
                                          "Z18K1": "Z10087K1"
                                        },
                                        "Z7K2": {
                                          "Z1K1": "Z18",
                                          "Z18K1": {
                                            "Z1K1": "Z9",
                                            "Z9K1": "K1"
                                          }
                                        },
                                        "K1": {
                                          "Z1K1": "Z18",
                                          "Z18K1": "Z10087K2"
                                        }
                                      }
                                    },
                                    "Z10K2": []
                                  },
                                  "Z8K5": {
                                    "Z1K1": "Z7",
                                    "Z7K1": "Z10087",
                                    "Z10087K1": {
                                      "Z1K1": "Z18",
                                      "Z18K1": "Z10087K1"
                                    },
                                    "Z10087K2": {
                                      "Z1K1": "Z18",
                                      "Z18K1": "Z10087K2"
                                    }
                                  }
                                }
                              },
                              "Z10K2": []
                            }
                          }
                        }
                      }
                    ]
                  }
                }
              }
            },
            {
              "Z1K1": "Z5",
              "Z5K1": "Z535",
              "Z5K2": {
                "Z1K1": {
                  "Z1K1": "Z7",
                  "Z7K1": "Z885",
                  "Z885K1": "Z535"
                },
                "K1": {
                  "Z1K1": "Z99",
                  "Z99K1": {
                    "Z1K1": "Z8",
                    "Z8K1": [
                      {
                        "Z1K1": "Z17",
                        "Z17K1": "Z8",
                        "Z17K2": "Z10087K1",
                        "Z17K3": {
                          "Z1K1": "Z12",
                          "Z12K1": [
                            {
                              "Z1K1": "Z11",
                              "Z11K1": "Z1002",
                              "Z11K2": "f"
                            }
                          ]
                        }
                      },
                      {
                        "Z1K1": "Z17",
                        "Z17K1": "Z40",
                        "Z17K2": "Z10087K2",
                        "Z17K3": {
                          "Z1K1": "Z12",
                          "Z12K1": [
                            {
                              "Z1K1": "Z11",
                              "Z11K1": "Z1002",
                              "Z11K2": "b"
                            }
                          ]
                        }
                      }
                    ],
                    "Z8K2": "Z40",
                    "Z8K3": [],
                    "Z8K4": {
                      "Z1K1": "Z10",
                      "Z10K1": {
                        "Z1K1": "Z14",
                        "Z14K1": "Z10087",
                        "Z14K2": {
                          "Z1K1": "Z8",
                          "Z8K1": {
                            "Z1K1": "Z10",
                            "Z10K1": {
                              "Z1K1": "Z17",
                              "Z17K1": "Z6",
                              "Z17K2": {
                                "Z1K1": "Z9",
                                "Z9K1": "K1"
                              },
                              "Z17K3": {
                                "Z1K1": "Z12",
                                "Z12K1": []
                              }
                            },
                            "Z10K2": []
                          },
                          "Z8K2": "Z40",
                          "Z8K3": [],
                          "Z8K4": {
                            "Z1K1": "Z10",
                            "Z10K1": {
                              "Z1K1": "Z14",
                              "Z14K1": {
                                "Z1K1": "Z7",
                                "Z7K1": "Z10087",
                                "Z10087K1": {
                                  "Z1K1": "Z18",
                                  "Z18K1": "Z10087K1"
                                },
                                "Z10087K2": {
                                  "Z1K1": "Z18",
                                  "Z18K1": "Z10087K2"
                                }
                              },
                              "Z14K2": {
                                "Z1K1": "Z7",
                                "Z7K1": {
                                  "Z1K1": "Z18",
                                  "Z18K1": "Z10087K1"
                                },
                                "Z7K2": {
                                  "Z1K1": "Z18",
                                  "Z18K1": {
                                    "Z1K1": "Z9",
                                    "Z9K1": "K1"
                                  }
                                },
                                "K1": {
                                  "Z1K1": "Z18",
                                  "Z18K1": "Z10087K2"
                                }
                              }
                            },
                            "Z10K2": []
                          },
                          "Z8K5": {
                            "Z1K1": "Z7",
                            "Z7K1": "Z10087",
                            "Z10087K1": {
                              "Z1K1": "Z18",
                              "Z18K1": "Z10087K1"
                            },
                            "Z10087K2": {
                              "Z1K1": "Z18",
                              "Z18K1": "Z10087K2"
                            }
                          }
                        }
                      },
                      "Z10K2": []
                    },
                    "Z8K5": "Z10087"
                  }
                }
              }
            },
            {
              "Z1K1": "Z5",
              "Z5K1": "Z511",
              "Z5K2": {
                "Z1K1": {
                  "Z1K1": "Z7",
                  "Z7K1": "Z885",
                  "Z885K1": "Z511"
                },
                "K1": {
                  "Z1K1": "Z39",
                  "Z39K1": "Z18K1"
                },
                "K2": {
                  "Z1K1": "Z99",
                  "Z99K1": {
                    "Z1K1": "Z8",
                    "Z8K1": [
                      {
                        "Z1K1": "Z17",
                        "Z17K1": "Z8",
                        "Z17K2": "Z10087K1",
                        "Z17K3": {
                          "Z1K1": "Z12",
                          "Z12K1": [
                            {
                              "Z1K1": "Z11",
                              "Z11K1": "Z1002",
                              "Z11K2": "f"
                            }
                          ]
                        }
                      },
                      {
                        "Z1K1": "Z17",
                        "Z17K1": "Z40",
                        "Z17K2": "Z10087K2",
                        "Z17K3": {
                          "Z1K1": "Z12",
                          "Z12K1": [
                            {
                              "Z1K1": "Z11",
                              "Z11K1": "Z1002",
                              "Z11K2": "b"
                            }
                          ]
                        }
                      }
                    ],
                    "Z8K2": "Z40",
                    "Z8K3": [],
                    "Z8K4": {
                      "Z1K1": "Z10",
                      "Z10K1": {
                        "Z1K1": "Z14",
                        "Z14K1": "Z10087",
                        "Z14K2": {
                          "Z1K1": "Z8",
                          "Z8K1": {
                            "Z1K1": "Z10",
                            "Z10K1": {
                              "Z1K1": "Z17",
                              "Z17K1": "Z6",
                              "Z17K2": {
                                "Z1K1": "Z9",
                                "Z9K1": "K1"
                              },
                              "Z17K3": {
                                "Z1K1": "Z12",
                                "Z12K1": []
                              }
                            },
                            "Z10K2": []
                          },
                          "Z8K2": "Z40",
                          "Z8K3": [],
                          "Z8K4": {
                            "Z1K1": "Z10",
                            "Z10K1": {
                              "Z1K1": "Z14",
                              "Z14K1": {
                                "Z1K1": "Z7",
                                "Z7K1": "Z10087",
                                "Z10087K1": {
                                  "Z1K1": "Z18",
                                  "Z18K1": "Z10087K1"
                                },
                                "Z10087K2": {
                                  "Z1K1": "Z18",
                                  "Z18K1": "Z10087K2"
                                }
                              },
                              "Z14K2": {
                                "Z1K1": "Z7",
                                "Z7K1": {
                                  "Z1K1": "Z18",
                                  "Z18K1": "Z10087K1"
                                },
                                "Z7K2": {
                                  "Z1K1": "Z18",
                                  "Z18K1": {
                                    "Z1K1": "Z9",
                                    "Z9K1": "K1"
                                  }
                                },
                                "K1": {
                                  "Z1K1": "Z18",
                                  "Z18K1": "Z10087K2"
                                }
                              }
                            },
                            "Z10K2": []
                          },
                          "Z8K5": {
                            "Z1K1": "Z7",
                            "Z7K1": "Z10087",
                            "Z10087K1": {
                              "Z1K1": "Z18",
                              "Z18K1": "Z10087K1"
                            },
                            "Z10087K2": {
                              "Z1K1": "Z18",
                              "Z18K1": "Z10087K2"
                            }
                          }
                        }
                      },
                      "Z10K2": []
                    },
                    "Z8K5": "Z10087"
                  }
                }
              }
            }
          ]
        }
      }
    }
  }
}

The problem seems to be in the definition of the argument in the created function, as there seems to be a type error between K1 as a String and reading it as a reference. It might be something completely different as well.

Event Timeline

If helpful, the following, Apply, works (I thought it may not, but it does):

Goal: a function Apply unary boolean (which takes one function that takes a single boolean and a boolean and returns a boolean)

i.e. Apply unary boolean(Function f, Boolean b) = f(b) = Boolean

My local definition is Z10089/Apply unary boolean as follows:

{
    "Z1K1": "Z2",
    "Z2K1": {
        "Z1K1": "Z6",
        "Z6K1": "Z10089"
    },
    "Z2K2": {
        "Z1K1": "Z8",
        "Z8K1": [
            {
                "Z1K1": "Z17",
                "Z17K1": "Z8",
                "Z17K2": {
                    "Z1K1": "Z6",
                    "Z6K1": "Z10089K1"
                },
                "Z17K3": {
                    "Z1K1": "Z12",
                    "Z12K1": [
                        {
                            "Z1K1": "Z11",
                            "Z11K1": "Z1002",
                            "Z11K2": "f"
                        }
                    ]
                }
            },
            {
                "Z1K1": "Z17",
                "Z17K1": "Z40",
                "Z17K2": {
                    "Z1K1": "Z6",
                    "Z6K1": "Z10089K2"
                },
                "Z17K3": {
                    "Z1K1": "Z12",
                    "Z12K1": [
                        {
                            "Z1K1": "Z11",
                            "Z11K1": "Z1002",
                            "Z11K2": "b"
                        }
                    ]
                }
            }
        ],
        "Z8K2": "Z40",
        "Z8K3": [],
        "Z8K4": [
            "Z10090"
        ],
        "Z8K5": "Z10089"
    },
    "Z2K3": {
        "Z1K1": "Z12",
        "Z12K1": [
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1002",
                "Z11K2": "Apply Unary Boolean"
            }
        ]
    },
    "Z2K4": {
        "Z1K1": "Z32",
        "Z32K1": [
            {
                "Z1K1": "Z31",
                "Z31K1": "Z1002",
                "Z31K2": []
            }
        ]
    }
}

And my composition on Z10090 is:

{
    "Z1K1": "Z2",
    "Z2K1": {
        "Z1K1": "Z6",
        "Z6K1": "Z10090"
    },
    "Z2K2": {
        "Z1K1": "Z14",
        "Z14K1": "Z10089",
        "Z14K2": {
            "Z1K1": "Z7",
            "Z7K1": {
                "Z1K1": "Z18",
                "Z18K1": {
                    "Z1K1": "Z6",
                    "Z6K1": "Z10089K1"
                }
            },
            "K1": {
                "Z1K1": "Z18",
                "Z18K1": {
                    "Z1K1": "Z6",
                    "Z6K1": "Z10089K2"
                }
            }
        }
    },
    "Z2K3": {
        "Z1K1": "Z12",
        "Z12K1": [
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1002",
                "Z11K2": "Apply unary boolean composition"
            }
        ]
    },
    "Z2K4": {
        "Z1K1": "Z32",
        "Z32K1": [
            {
                "Z1K1": "Z31",
                "Z31K1": "Z1002",
                "Z31K2": []
            }
        ]
    }
}

So when I call this, e.g.

apply unary boolean(negate, false)

{
  "Z1K1": "Z7",
  "Z7K1": "Z10089",
  "Z10089K1": {
    "Z1K1": "Z9",
    "Z9K1": "Z10000"
  },
  "Z10089K2": {
    "Z1K1": "Z9",
    "Z9K1": "Z42"
  }
}

the result is as expected

{
  "Z1K1": "Z40",
  "Z40K1": "Z41"
}

which means true.

Jdforrester-WMF changed the subtype of this task from "Task" to "Bug Report".Mar 14 2022, 5:07 PM

I'm taking a look at this today. Can you share the definition of Z10007/And?

Also, the implementation has some issues (e.g., it sets Z14K1 to a function call and the Z14K2 has Z7K2, which isn't an attribute of Z7).

I suspect that currying still doesn't work as intended, so I'll try to rework it locally.

Also important to ensure we not resolve Z14K1 or Z8K5 to obviate infinite loops.

Change 774365 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/services/function-orchestrator@master] Develop and use new class ZWrapper

https://gerrit.wikimedia.org/r/774365

Jdforrester-WMF renamed this task from Allow for Boolean Curry to work to Allow for Boolean Curry to work by supporting closures.Mar 29 2022, 6:09 PM
Jdforrester-WMF changed the subtype of this task from "Bug Report" to "Task".

Change 774970 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/services/function-orchestrator@master] Add JSDoc for functions to clarify use of JSON representation

https://gerrit.wikimedia.org/r/774970

Change 774970 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] Add JSDoc for functions to clarify use of JSON representation

https://gerrit.wikimedia.org/r/774970

Change 774365 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] Support closures in function-orchestrator.

https://gerrit.wikimedia.org/r/774365

Change 777836 had a related patch set uploaded (by Jforrester; author: Cory Massaro):

[mediawiki/extensions/WikiLambda@master] ApiFunctionCall: Add curry example

https://gerrit.wikimedia.org/r/777836

Change 777836 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ApiFunctionCall: Add curry example

https://gerrit.wikimedia.org/r/777836

Change 779907 had a related patch set uploaded (by Cory Massaro; author: Cory Massaro):

[mediawiki/services/function-orchestrator@master] Add "bind binary function" example and better support for closures.

https://gerrit.wikimedia.org/r/779907

Change 779907 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] Add "bind binary function" example and better support for closures.

https://gerrit.wikimedia.org/r/779907