User:GrounderUK/objects

From Wikifunctions

An evolving example of documenting an object. It would be nice if it could go into Z1/doc. Italics for drafting.

Object (Z1)

Contents

[wikilambda-persistentzobject-contents]

This refers to the contents of the object ("ZObject"), which are given below. Every Wikifunctions object in the main namespace is a Persistent object (Z2). Help:WikiLambda is the MediaWiki extension that supports Wikifunctions.

Type (Z4): Object (Z1)

This Object (Z1) is a Type (Z4). It is the fundamental Z4 for all Wikifunctions objects, including itself (this is explained in the Wikifunctions:Function model).You will find labels for Z4 and Z1 by following the links. You can add labels in other languages there, if you have the right to do so and you choose from the languages in this list.

Key (Z3)

Wikifunctions objects are lists of Keys. A Key is technically a key–value pair, so each one looks something like {"Z1K1": "Z4"}. In this pair, "Z1K1" is the key of the Key and "Z4" is its value. On Wikifunctions, we normally just talk about a key and its value, where “key” refers to the pair. Sometimes this is made explicit by using the string “Z3/key”.

If we want to talk about the first string in the pair, we would normally just use its label (which for "Z1K1" is “type”). There is currently no easy way (?) to do this automatically, because there is no Wikifunctions page for “Z1K1”. This will be a function when function calls can be included in wikitext.

Type (Z4)

"Z1K1" Multilingual text EN type

Validate object (Z101)

Validate object (Z101) is a Function (Z8) that is used to validate all objects of this type (all Wikifunctions objects). You will find this object’s labels by following the link, of course.

Wikifunctions:Glossary#O

List of keys

Values in English and, where available, Hebrew.

Formatted by ChatGPT

Corrected by me

List of keys with multilingual labels
Object Key English Hebrew
Object (Z1) Z1K1 type סוג
Persistent object (Z2) Z2K1 id מזהה
Persistent object (Z2) Z2K2 value ערך
Persistent object (Z2) Z2K3 labels תווית
Persistent object (Z2) Z2K4 aliases כינויים
Persistent object (Z2) Z2K5 short descriptions תיאור קצר
Key (Z3) Z3K1 value type סוג ערך
Key (Z3) Z3K2 key id מזהה מפתח
Key (Z3) Z3K3 label תווית
Type (Z4) Z4K1 identity זהות
Type (Z4) Z4K2 keys מפתחות
Type (Z4) Z4K3 validator בודק תקינות
Type (Z4) Z4K4 equality
Type (Z4) Z4K5 renderer
Type (Z4) Z4K6 parser שוויון
Type (Z4) Z4K7 type converters to code ממירי הסוג לקוד
Type (Z4) Z4K8 type converters from code ממירי הסוג מהקוד
Error (Z5) Z5K1 error type סוג שגיאה
Error (Z5) Z5K2 error value ערך שגיאה
String (Z6) Z6K1 value ערך
Function call (Z7) Z7K1 function פונקציה
Function (Z8) Z8K1 arguments ארגומנטים
Function (Z8) Z8K2 return type סוג מוחזר
Function (Z8) Z8K3 testers בודקים
Function (Z8) Z8K4 implementations מימושים
Function (Z8) Z8K5 identity זהות
Reference (Z9) Z9K1 reference id מזהה התייחסות
Monolingual text (Z11) Z11K1 language שפה
Monolingual text (Z11) Z11K2 text טקסט
Multilingual text (Z12) Z12K1 texts טקסטים
Implementation (Z14) Z14K1 function פונקציה
Implementation (Z14) Z14K2 composition הרכבה
Implementation (Z14) Z14K3 code קוד
Implementation (Z14) Z14K4 built-in מובנה
Code (Z16) Z16K1 language שפת הקוד
Code (Z16) Z16K2 code קוד
Argument declaration (Z17) Z17K1 type סוג
Argument declaration (Z17) Z17K2 key מפתח הארגומנט
Argument declaration (Z17) Z17K3 label תווית הארגומנט
Argument reference (Z18) Z18K1 key id מזהה מפתח
Test case (Z20) Z20K1 function פונקצייה
Test case (Z20) Z20K2 call קריאה לפונקצייה
Test case (Z20) Z20K3 result validation בדיקת התקינות של התוצאה
Evaluation result (Z22) Z22K1 result תוצאת ההערכה
Evaluation result (Z22) Z22K2 metadata מֵטָא-נתונים
Monolingual stringset (Z31) Z31K1 language שפה
Monolingual stringset (Z31) Z31K2 stringset ערכת מחרוזות
Multilingual stringset (Z32) Z32K1 stringset
Key reference (Z39) Z39K1 reference
Boolean (Z40) Z40K1 identity
true (Z41) Z41K1 true אמת
false (Z42) Z42K1 false שקר
Type converter to code (Z46) Z46K1 identity
Type converter to code (Z46) Z46K2 type
Type converter to code (Z46) Z46K3 converter
Type converter to code (Z46) Z46K4 native type
Error type (Z50) Z50K1 keys
Natural language (Z60) Z60K1 code קוד שפה
Natural language (Z60) Z60K2 code aliases
Programming language (Z61) Z61K1 code
Type converter from code (Z64) Z64K1 identity
Type converter from code (Z64) Z64K2 type
Type converter from code (Z64) Z64K3 converter
Type converter from code (Z64) Z64K4 native type
Byte (Z80) Z80K1 value
Code point (Z86) Z86K1 value
Quote (Z99) Z99K1 quotation
Natural number (Z13518) Z13518K1 value