Page MenuHomePhabricator

Z8/Function type
Closed, ResolvedPublic

Description

The Function type really benefits from a dedicated viewer.

Optionally, also have a dedicated editor and creator.

Z8K1/identity, pointing to its own ZID

Z8K2/list of argument declarations

(Z8K3/list of tests - for later)

Z8K4/(list of?) implementation

This also requires an Z17/argument declaration type with an Z17K1/type ID, Z17K2/key, and Z17K3/label.

Related Objects

StatusSubtypeAssignedTask
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF

Event Timeline

DVrandecic triaged this task as Medium priority.Jul 27 2020, 3:09 PM
DVrandecic lowered the priority of this task from Medium to Low.Aug 20 2020, 12:33 AM
DVrandecic raised the priority of this task from Low to Medium.Aug 27 2020, 9:25 PM
DVrandecic raised the priority of this task from Medium to High.Aug 27 2020, 9:43 PM
DVrandecic lowered the priority of this task from High to Medium.

This also requires an Z17/argument declaration type with an Z17K1/key ID, Z17K2/type, and Z17K3/label.

https://meta.wikimedia.org/wiki/Abstract_Wikipedia/Pre-generic_function_model#Z17/Argument_declaration says this is

  • Z17K1/argument type (Z4/Type)
  • Z17K2/key id (Z6/String)
  • Z17K3/label (Z12/Multilingual text)

… (i.e. key and type are reversed). I assume that's the correct one?

Yes, let's have the wiki be canonical. I fixed it in the task description.

Change 661815 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/WikiLambda@master] [WIP] Add ZFunction and ZArgumentDeclaration data types

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

Change 661815 merged by jenkins-bot:
[mediawiki/extensions/WikiLambda@master] [WIP] Add ZFunction and ZArgumentDeclaration data types

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