diff --git a/transcripts/share-apis/contribution-diffs/contribution-diff.json b/transcripts/share-apis/contribution-diffs/contribution-diff.json index 4c3927b0..8133dd82 100644 --- a/transcripts/share-apis/contribution-diffs/contribution-diff.json +++ b/transcripts/share-apis/contribution-diffs/contribution-diff.json @@ -482,128 +482,250 @@ "diff": { "diff": { "diff": { - "contents": [ - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "DataTypeKeyword" + "contents": { + "left": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "ability" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "AbilityUpdateMe", + "tag": "HashQualifier" + }, + "segment": "AbilityUpdateMe" + }, + { + "annotation": { + "tag": "ControlKeyword" + }, + "segment": " where" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "ability" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "AbilityUpdateMe", - "tag": "HashQualifier" + { + "diffTag": "annotationChange", + "fromAnnotation": { + "contents": "#8u70g0vaddp9jm3egoq434qialp8hdnjfh8ah8mqjau0i5lmdikt9qbe491ss53i71976fftb2o90ii6gckvs0i2lhovs1n6h0huhb0#a0", + "tag": "TermReference" + }, + "segment": "abilityUpdateMe", + "toAnnotation": { + "contents": "#nnulmopbjndcs4si1mop30dm01nlum2k7m6j4mmd1df2e63m09lchh2j1gkqd4gua3bl0g3j6hgn76rmc495au8cpr0t83oqoho0sng#a0", + "tag": "TermReference" + } }, - "segment": "AbilityUpdateMe" - }, - { - "annotation": { - "tag": "ControlKeyword" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "AbilityBraces" + }, + "segment": "{" + } + ] }, - "segment": " where" - }, - { - "annotation": null, - "segment": "\n" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "annotationChange", - "fromAnnotation": { - "contents": "#8u70g0vaddp9jm3egoq434qialp8hdnjfh8ah8mqjau0i5lmdikt9qbe491ss53i71976fftb2o90ii6gckvs0i2lhovs1n6h0huhb0#a0", - "tag": "TermReference" - }, - "segment": "abilityUpdateMe", - "toAnnotation": { - "contents": "#nnulmopbjndcs4si1mop30dm01nlum2k7m6j4mmd1df2e63m09lchh2j1gkqd4gua3bl0g3j6hgn76rmc495au8cpr0t83oqoho0sng#a0", - "tag": "TermReference" - } - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "TypeAscriptionColon" + { + "diffTag": "annotationChange", + "fromAnnotation": { + "contents": "#8u70g0vaddp9jm3egoq434qialp8hdnjfh8ah8mqjau0i5lmdikt9qbe491ss53i71976fftb2o90ii6gckvs0i2lhovs1n6h0huhb0", + "tag": "TypeReference" + }, + "segment": "AbilityUpdateMe", + "toAnnotation": { + "contents": "#nnulmopbjndcs4si1mop30dm01nlum2k7m6j4mmd1df2e63m09lchh2j1gkqd4gua3bl0g3j6hgn76rmc495au8cpr0t83oqoho0sng", + "tag": "TypeReference" + } }, - "segment": " :" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "AbilityBraces" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "AbilityBraces" + }, + "segment": "}" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "{" - } - ] - }, - { - "diffTag": "annotationChange", - "fromAnnotation": { - "contents": "#8u70g0vaddp9jm3egoq434qialp8hdnjfh8ah8mqjau0i5lmdikt9qbe491ss53i71976fftb2o90ii6gckvs0i2lhovs1n6h0huhb0", - "tag": "TypeReference" - }, - "segment": "AbilityUpdateMe", - "toAnnotation": { - "contents": "#nnulmopbjndcs4si1mop30dm01nlum2k7m6j4mmd1df2e63m09lchh2j1gkqd4gua3bl0g3j6hgn76rmc495au8cpr0t83oqoho0sng", - "tag": "TypeReference" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + } + ] + } + ] } - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "AbilityBraces" + ], + "right": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "ability" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "AbilityUpdateMe", + "tag": "HashQualifier" + }, + "segment": "AbilityUpdateMe" + }, + { + "annotation": { + "tag": "ControlKeyword" + }, + "segment": " where" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "}" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "contents": "##Nat", - "tag": "TypeReference" + { + "diffTag": "annotationChange", + "fromAnnotation": { + "contents": "#nnulmopbjndcs4si1mop30dm01nlum2k7m6j4mmd1df2e63m09lchh2j1gkqd4gua3bl0g3j6hgn76rmc495au8cpr0t83oqoho0sng#a0", + "tag": "TermReference" + }, + "segment": "abilityUpdateMe", + "toAnnotation": { + "contents": "#8u70g0vaddp9jm3egoq434qialp8hdnjfh8ah8mqjau0i5lmdikt9qbe491ss53i71976fftb2o90ii6gckvs0i2lhovs1n6h0huhb0#a0", + "tag": "TermReference" + } }, - "segment": "Nat" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "contents": "##Text", - "tag": "TypeReference" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "AbilityBraces" + }, + "segment": "{" + } + ] }, - "segment": "Text" - } - ] - } - ], + { + "diffTag": "annotationChange", + "fromAnnotation": { + "contents": "#nnulmopbjndcs4si1mop30dm01nlum2k7m6j4mmd1df2e63m09lchh2j1gkqd4gua3bl0g3j6hgn76rmc495au8cpr0t83oqoho0sng", + "tag": "TypeReference" + }, + "segment": "AbilityUpdateMe", + "toAnnotation": { + "contents": "#8u70g0vaddp9jm3egoq434qialp8hdnjfh8ah8mqjau0i5lmdikt9qbe491ss53i71976fftb2o90ii6gckvs0i2lhovs1n6h0huhb0", + "tag": "TypeReference" + } + }, + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "AbilityBraces" + }, + "segment": "}" + }, + { + "annotation": null, + "segment": " " + } + ] + }, + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "##Text", + "tag": "TypeReference" + }, + "segment": "Text" + } + ] + } + ] + } + ] + }, "tag": "UserObject" }, "diffKind": "diff" @@ -862,71 +984,113 @@ "diff": { "diff": { "diff": { - "contents": [ - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "DataTypeKeyword" - }, - "segment": "type" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "DataUpdateMe", - "tag": "HashQualifier" - }, - "segment": "DataUpdateMe" - }, - { - "annotation": { - "tag": "DelimiterChar" - }, - "segment": " = " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "contents": "#a2bvb3g2l1mkijg24ogg0t23h51pnfepnngk6e3bqfijf4l9ms292t006e8faquo66ctn1ho35vtps13m6evbl6bos2guer5j6jcs1o#d0", - "tag": "TermReference" - }, - "segment": "D" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "contents": "#6t7t8lem3bmu3j7bsid4omn8gej2gl57ffmkp0ef6qndhndh2q3q6dd1j9akl653r3vtifsunovvbmbjh0iqc7n6rhp4imnsghhe6go#d0", - "tag": "TermReference" + "contents": { + "left": [ + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "type" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "DataUpdateMe", + "tag": "HashQualifier" + }, + "segment": "DataUpdateMe" + }, + { + "annotation": { + "tag": "DelimiterChar" + }, + "segment": " = " + } + ] }, - "segment": "D2" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Nat", - "tag": "TypeReference" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "#a2bvb3g2l1mkijg24ogg0t23h51pnfepnngk6e3bqfijf4l9ms292t006e8faquo66ctn1ho35vtps13m6evbl6bos2guer5j6jcs1o#d0", + "tag": "TermReference" + }, + "segment": "D" + } + ] + } + ] + } + ], + "right": [ + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "type" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "DataUpdateMe", + "tag": "HashQualifier" + }, + "segment": "DataUpdateMe" + }, + { + "annotation": { + "tag": "DelimiterChar" + }, + "segment": " = " + } + ] }, - "segment": "Nat" - } - ] - } - ], + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "#6t7t8lem3bmu3j7bsid4omn8gej2gl57ffmkp0ef6qndhndh2q3q6dd1j9akl653r3vtifsunovvbmbjh0iqc7n6rhp4imnsghhe6go#d0", + "tag": "TermReference" + }, + "segment": "D2" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + } + ] + } + ] + } + ] + }, "tag": "UserObject" }, "diffKind": "diff" @@ -1743,80 +1907,156 @@ "diff": { "diff": { "diff": { - "contents": [ - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "contents": "termUpdateMe", - "tag": "HashQualifier" - }, - "segment": "termUpdateMe" - }, - { - "annotation": { - "tag": "TypeAscriptionColon" - }, - "segment": " :" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Text", - "tag": "TypeReference" - }, - "segment": "Text" - }, - { - "annotation": null, - "segment": "\n" - }, - { - "annotation": { - "contents": "termUpdateMe", - "tag": "HashQualifier" - }, - "segment": "termUpdateMe" - }, - { - "annotation": { - "tag": "BindingEquals" - }, - "segment": " =" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "tag": "TextLiteral" + "contents": { + "left": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "termUpdateMe", + "tag": "HashQualifier" + }, + "segment": "termUpdateMe" + }, + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Text", + "tag": "TypeReference" + }, + "segment": "Text" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "termUpdateMe", + "tag": "HashQualifier" + }, + "segment": "termUpdateMe" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "\"original\"" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "tag": "TextLiteral" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "tag": "TextLiteral" + }, + "segment": "\"original\"" + } + ] + } + ] + } + ], + "right": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "termUpdateMe", + "tag": "HashQualifier" + }, + "segment": "termUpdateMe" + }, + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Text", + "tag": "TypeReference" + }, + "segment": "Text" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "termUpdateMe", + "tag": "HashQualifier" + }, + "segment": "termUpdateMe" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "\"updated\"" - } - ] - } - ], + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "tag": "TextLiteral" + }, + "segment": "\"updated\"" + } + ] + } + ] + } + ] + }, "tag": "UserObject" }, "diffKind": "diff" diff --git a/transcripts/share-apis/contribution-diffs/namespace-diff.json b/transcripts/share-apis/contribution-diffs/namespace-diff.json index 4c3927b0..8133dd82 100644 --- a/transcripts/share-apis/contribution-diffs/namespace-diff.json +++ b/transcripts/share-apis/contribution-diffs/namespace-diff.json @@ -482,128 +482,250 @@ "diff": { "diff": { "diff": { - "contents": [ - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "DataTypeKeyword" + "contents": { + "left": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "ability" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "AbilityUpdateMe", + "tag": "HashQualifier" + }, + "segment": "AbilityUpdateMe" + }, + { + "annotation": { + "tag": "ControlKeyword" + }, + "segment": " where" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "ability" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "AbilityUpdateMe", - "tag": "HashQualifier" + { + "diffTag": "annotationChange", + "fromAnnotation": { + "contents": "#8u70g0vaddp9jm3egoq434qialp8hdnjfh8ah8mqjau0i5lmdikt9qbe491ss53i71976fftb2o90ii6gckvs0i2lhovs1n6h0huhb0#a0", + "tag": "TermReference" + }, + "segment": "abilityUpdateMe", + "toAnnotation": { + "contents": "#nnulmopbjndcs4si1mop30dm01nlum2k7m6j4mmd1df2e63m09lchh2j1gkqd4gua3bl0g3j6hgn76rmc495au8cpr0t83oqoho0sng#a0", + "tag": "TermReference" + } }, - "segment": "AbilityUpdateMe" - }, - { - "annotation": { - "tag": "ControlKeyword" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "AbilityBraces" + }, + "segment": "{" + } + ] }, - "segment": " where" - }, - { - "annotation": null, - "segment": "\n" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "annotationChange", - "fromAnnotation": { - "contents": "#8u70g0vaddp9jm3egoq434qialp8hdnjfh8ah8mqjau0i5lmdikt9qbe491ss53i71976fftb2o90ii6gckvs0i2lhovs1n6h0huhb0#a0", - "tag": "TermReference" - }, - "segment": "abilityUpdateMe", - "toAnnotation": { - "contents": "#nnulmopbjndcs4si1mop30dm01nlum2k7m6j4mmd1df2e63m09lchh2j1gkqd4gua3bl0g3j6hgn76rmc495au8cpr0t83oqoho0sng#a0", - "tag": "TermReference" - } - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "TypeAscriptionColon" + { + "diffTag": "annotationChange", + "fromAnnotation": { + "contents": "#8u70g0vaddp9jm3egoq434qialp8hdnjfh8ah8mqjau0i5lmdikt9qbe491ss53i71976fftb2o90ii6gckvs0i2lhovs1n6h0huhb0", + "tag": "TypeReference" + }, + "segment": "AbilityUpdateMe", + "toAnnotation": { + "contents": "#nnulmopbjndcs4si1mop30dm01nlum2k7m6j4mmd1df2e63m09lchh2j1gkqd4gua3bl0g3j6hgn76rmc495au8cpr0t83oqoho0sng", + "tag": "TypeReference" + } }, - "segment": " :" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "AbilityBraces" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "AbilityBraces" + }, + "segment": "}" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "{" - } - ] - }, - { - "diffTag": "annotationChange", - "fromAnnotation": { - "contents": "#8u70g0vaddp9jm3egoq434qialp8hdnjfh8ah8mqjau0i5lmdikt9qbe491ss53i71976fftb2o90ii6gckvs0i2lhovs1n6h0huhb0", - "tag": "TypeReference" - }, - "segment": "AbilityUpdateMe", - "toAnnotation": { - "contents": "#nnulmopbjndcs4si1mop30dm01nlum2k7m6j4mmd1df2e63m09lchh2j1gkqd4gua3bl0g3j6hgn76rmc495au8cpr0t83oqoho0sng", - "tag": "TypeReference" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + } + ] + } + ] } - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "AbilityBraces" + ], + "right": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "ability" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "AbilityUpdateMe", + "tag": "HashQualifier" + }, + "segment": "AbilityUpdateMe" + }, + { + "annotation": { + "tag": "ControlKeyword" + }, + "segment": " where" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "}" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "contents": "##Nat", - "tag": "TypeReference" + { + "diffTag": "annotationChange", + "fromAnnotation": { + "contents": "#nnulmopbjndcs4si1mop30dm01nlum2k7m6j4mmd1df2e63m09lchh2j1gkqd4gua3bl0g3j6hgn76rmc495au8cpr0t83oqoho0sng#a0", + "tag": "TermReference" + }, + "segment": "abilityUpdateMe", + "toAnnotation": { + "contents": "#8u70g0vaddp9jm3egoq434qialp8hdnjfh8ah8mqjau0i5lmdikt9qbe491ss53i71976fftb2o90ii6gckvs0i2lhovs1n6h0huhb0#a0", + "tag": "TermReference" + } }, - "segment": "Nat" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "contents": "##Text", - "tag": "TypeReference" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "AbilityBraces" + }, + "segment": "{" + } + ] }, - "segment": "Text" - } - ] - } - ], + { + "diffTag": "annotationChange", + "fromAnnotation": { + "contents": "#nnulmopbjndcs4si1mop30dm01nlum2k7m6j4mmd1df2e63m09lchh2j1gkqd4gua3bl0g3j6hgn76rmc495au8cpr0t83oqoho0sng", + "tag": "TypeReference" + }, + "segment": "AbilityUpdateMe", + "toAnnotation": { + "contents": "#8u70g0vaddp9jm3egoq434qialp8hdnjfh8ah8mqjau0i5lmdikt9qbe491ss53i71976fftb2o90ii6gckvs0i2lhovs1n6h0huhb0", + "tag": "TypeReference" + } + }, + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "AbilityBraces" + }, + "segment": "}" + }, + { + "annotation": null, + "segment": " " + } + ] + }, + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "##Text", + "tag": "TypeReference" + }, + "segment": "Text" + } + ] + } + ] + } + ] + }, "tag": "UserObject" }, "diffKind": "diff" @@ -862,71 +984,113 @@ "diff": { "diff": { "diff": { - "contents": [ - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "DataTypeKeyword" - }, - "segment": "type" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "DataUpdateMe", - "tag": "HashQualifier" - }, - "segment": "DataUpdateMe" - }, - { - "annotation": { - "tag": "DelimiterChar" - }, - "segment": " = " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "contents": "#a2bvb3g2l1mkijg24ogg0t23h51pnfepnngk6e3bqfijf4l9ms292t006e8faquo66ctn1ho35vtps13m6evbl6bos2guer5j6jcs1o#d0", - "tag": "TermReference" - }, - "segment": "D" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "contents": "#6t7t8lem3bmu3j7bsid4omn8gej2gl57ffmkp0ef6qndhndh2q3q6dd1j9akl653r3vtifsunovvbmbjh0iqc7n6rhp4imnsghhe6go#d0", - "tag": "TermReference" + "contents": { + "left": [ + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "type" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "DataUpdateMe", + "tag": "HashQualifier" + }, + "segment": "DataUpdateMe" + }, + { + "annotation": { + "tag": "DelimiterChar" + }, + "segment": " = " + } + ] }, - "segment": "D2" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Nat", - "tag": "TypeReference" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "#a2bvb3g2l1mkijg24ogg0t23h51pnfepnngk6e3bqfijf4l9ms292t006e8faquo66ctn1ho35vtps13m6evbl6bos2guer5j6jcs1o#d0", + "tag": "TermReference" + }, + "segment": "D" + } + ] + } + ] + } + ], + "right": [ + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "type" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "DataUpdateMe", + "tag": "HashQualifier" + }, + "segment": "DataUpdateMe" + }, + { + "annotation": { + "tag": "DelimiterChar" + }, + "segment": " = " + } + ] }, - "segment": "Nat" - } - ] - } - ], + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "#6t7t8lem3bmu3j7bsid4omn8gej2gl57ffmkp0ef6qndhndh2q3q6dd1j9akl653r3vtifsunovvbmbjh0iqc7n6rhp4imnsghhe6go#d0", + "tag": "TermReference" + }, + "segment": "D2" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + } + ] + } + ] + } + ] + }, "tag": "UserObject" }, "diffKind": "diff" @@ -1743,80 +1907,156 @@ "diff": { "diff": { "diff": { - "contents": [ - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "contents": "termUpdateMe", - "tag": "HashQualifier" - }, - "segment": "termUpdateMe" - }, - { - "annotation": { - "tag": "TypeAscriptionColon" - }, - "segment": " :" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Text", - "tag": "TypeReference" - }, - "segment": "Text" - }, - { - "annotation": null, - "segment": "\n" - }, - { - "annotation": { - "contents": "termUpdateMe", - "tag": "HashQualifier" - }, - "segment": "termUpdateMe" - }, - { - "annotation": { - "tag": "BindingEquals" - }, - "segment": " =" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "tag": "TextLiteral" + "contents": { + "left": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "termUpdateMe", + "tag": "HashQualifier" + }, + "segment": "termUpdateMe" + }, + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Text", + "tag": "TypeReference" + }, + "segment": "Text" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "termUpdateMe", + "tag": "HashQualifier" + }, + "segment": "termUpdateMe" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "\"original\"" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "tag": "TextLiteral" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "tag": "TextLiteral" + }, + "segment": "\"original\"" + } + ] + } + ] + } + ], + "right": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "termUpdateMe", + "tag": "HashQualifier" + }, + "segment": "termUpdateMe" + }, + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Text", + "tag": "TypeReference" + }, + "segment": "Text" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "termUpdateMe", + "tag": "HashQualifier" + }, + "segment": "termUpdateMe" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "\"updated\"" - } - ] - } - ], + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "tag": "TextLiteral" + }, + "segment": "\"updated\"" + } + ] + } + ] + } + ] + }, "tag": "UserObject" }, "diffKind": "diff" diff --git a/transcripts/share-apis/contribution-diffs/standard-term-diff.json b/transcripts/share-apis/contribution-diffs/standard-term-diff.json index eba5b68d..c105ce7a 100644 --- a/transcripts/share-apis/contribution-diffs/standard-term-diff.json +++ b/transcripts/share-apis/contribution-diffs/standard-term-diff.json @@ -1,80 +1,156 @@ { "body": { "diff": { - "contents": [ - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "contents": "termUpdateMe", - "tag": "HashQualifier" - }, - "segment": "termUpdateMe" - }, - { - "annotation": { - "tag": "TypeAscriptionColon" - }, - "segment": " :" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Text", - "tag": "TypeReference" - }, - "segment": "Text" - }, - { - "annotation": null, - "segment": "\n" - }, - { - "annotation": { - "contents": "termUpdateMe", - "tag": "HashQualifier" - }, - "segment": "termUpdateMe" - }, - { - "annotation": { - "tag": "BindingEquals" - }, - "segment": " =" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "tag": "TextLiteral" + "contents": { + "left": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "termUpdateMe", + "tag": "HashQualifier" + }, + "segment": "termUpdateMe" + }, + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Text", + "tag": "TypeReference" + }, + "segment": "Text" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "termUpdateMe", + "tag": "HashQualifier" + }, + "segment": "termUpdateMe" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "\"original\"" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "tag": "TextLiteral" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "tag": "TextLiteral" + }, + "segment": "\"original\"" + } + ] + } + ] + } + ], + "right": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "termUpdateMe", + "tag": "HashQualifier" + }, + "segment": "termUpdateMe" + }, + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Text", + "tag": "TypeReference" + }, + "segment": "Text" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "termUpdateMe", + "tag": "HashQualifier" + }, + "segment": "termUpdateMe" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "\"updated\"" - } - ] - } - ], + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "tag": "TextLiteral" + }, + "segment": "\"updated\"" + } + ] + } + ] + } + ] + }, "tag": "UserObject" }, "diffKind": "diff", diff --git a/transcripts/share-apis/contribution-diffs/standard-type-diff.json b/transcripts/share-apis/contribution-diffs/standard-type-diff.json index e21c40b4..0a3b0139 100644 --- a/transcripts/share-apis/contribution-diffs/standard-type-diff.json +++ b/transcripts/share-apis/contribution-diffs/standard-type-diff.json @@ -1,71 +1,113 @@ { "body": { "diff": { - "contents": [ - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "DataTypeKeyword" - }, - "segment": "type" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "DataUpdateMe", - "tag": "HashQualifier" - }, - "segment": "DataUpdateMe" - }, - { - "annotation": { - "tag": "DelimiterChar" - }, - "segment": " = " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "contents": "#a2bvb3g2l1mkijg24ogg0t23h51pnfepnngk6e3bqfijf4l9ms292t006e8faquo66ctn1ho35vtps13m6evbl6bos2guer5j6jcs1o#d0", - "tag": "TermReference" - }, - "segment": "D" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "contents": "#6t7t8lem3bmu3j7bsid4omn8gej2gl57ffmkp0ef6qndhndh2q3q6dd1j9akl653r3vtifsunovvbmbjh0iqc7n6rhp4imnsghhe6go#d0", - "tag": "TermReference" + "contents": { + "left": [ + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "type" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "DataUpdateMe", + "tag": "HashQualifier" + }, + "segment": "DataUpdateMe" + }, + { + "annotation": { + "tag": "DelimiterChar" + }, + "segment": " = " + } + ] }, - "segment": "D2" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Nat", - "tag": "TypeReference" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "#a2bvb3g2l1mkijg24ogg0t23h51pnfepnngk6e3bqfijf4l9ms292t006e8faquo66ctn1ho35vtps13m6evbl6bos2guer5j6jcs1o#d0", + "tag": "TermReference" + }, + "segment": "D" + } + ] + } + ] + } + ], + "right": [ + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "type" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "DataUpdateMe", + "tag": "HashQualifier" + }, + "segment": "DataUpdateMe" + }, + { + "annotation": { + "tag": "DelimiterChar" + }, + "segment": " = " + } + ] }, - "segment": "Nat" - } - ] - } - ], + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "#6t7t8lem3bmu3j7bsid4omn8gej2gl57ffmkp0ef6qndhndh2q3q6dd1j9akl653r3vtifsunovvbmbjh0iqc7n6rhp4imnsghhe6go#d0", + "tag": "TermReference" + }, + "segment": "D2" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + } + ] + } + ] + } + ] + }, "tag": "UserObject" }, "diffKind": "diff", diff --git a/transcripts/share-apis/contributions/merged-contribution-diff.json b/transcripts/share-apis/contributions/merged-contribution-diff.json index 9b9f0eed..407b6ad7 100644 --- a/transcripts/share-apis/contributions/merged-contribution-diff.json +++ b/transcripts/share-apis/contributions/merged-contribution-diff.json @@ -9,80 +9,156 @@ "diff": { "diff": { "diff": { - "contents": [ - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "contents": "term", - "tag": "HashQualifier" - }, - "segment": "term" - }, - { - "annotation": { - "tag": "TypeAscriptionColon" - }, - "segment": " :" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Text", - "tag": "HashQualifier" - }, - "segment": "##Text" - }, - { - "annotation": null, - "segment": "\n" - }, - { - "annotation": { - "contents": "term", - "tag": "HashQualifier" - }, - "segment": "term" - }, - { - "annotation": { - "tag": "BindingEquals" - }, - "segment": " =" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "tag": "TextLiteral" + "contents": { + "left": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "term", + "tag": "HashQualifier" + }, + "segment": "term" + }, + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Text", + "tag": "HashQualifier" + }, + "segment": "##Text" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "term", + "tag": "HashQualifier" + }, + "segment": "term" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "\"start\"" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "tag": "TextLiteral" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "tag": "TextLiteral" + }, + "segment": "\"start\"" + } + ] + } + ] + } + ], + "right": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "term", + "tag": "HashQualifier" + }, + "segment": "term" + }, + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Text", + "tag": "HashQualifier" + }, + "segment": "##Text" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "term", + "tag": "HashQualifier" + }, + "segment": "term" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "\"feature-one\"" - } - ] - } - ], + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "tag": "TextLiteral" + }, + "segment": "\"feature-one\"" + } + ] + } + ] + } + ] + }, "tag": "UserObject" }, "diffKind": "diff" diff --git a/transcripts/share-apis/contributions/transitive-contribution-diff.json b/transcripts/share-apis/contributions/transitive-contribution-diff.json index 34bedd9e..59e4e004 100644 --- a/transcripts/share-apis/contributions/transitive-contribution-diff.json +++ b/transcripts/share-apis/contributions/transitive-contribution-diff.json @@ -9,80 +9,156 @@ "diff": { "diff": { "diff": { - "contents": [ - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "contents": "term", - "tag": "HashQualifier" - }, - "segment": "term" - }, - { - "annotation": { - "tag": "TypeAscriptionColon" - }, - "segment": " :" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Text", - "tag": "HashQualifier" - }, - "segment": "##Text" - }, - { - "annotation": null, - "segment": "\n" - }, - { - "annotation": { - "contents": "term", - "tag": "HashQualifier" - }, - "segment": "term" - }, - { - "annotation": { - "tag": "BindingEquals" - }, - "segment": " =" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "tag": "TextLiteral" + "contents": { + "left": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "term", + "tag": "HashQualifier" + }, + "segment": "term" + }, + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Text", + "tag": "HashQualifier" + }, + "segment": "##Text" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "term", + "tag": "HashQualifier" + }, + "segment": "term" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "\"feature-one\"" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "tag": "TextLiteral" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "tag": "TextLiteral" + }, + "segment": "\"feature-one\"" + } + ] + } + ] + } + ], + "right": [ + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "term", + "tag": "HashQualifier" + }, + "segment": "term" + }, + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Text", + "tag": "HashQualifier" + }, + "segment": "##Text" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "term", + "tag": "HashQualifier" + }, + "segment": "term" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "\"feature-two\"" - } - ] - } - ], + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "tag": "TextLiteral" + }, + "segment": "\"feature-two\"" + } + ] + } + ] + } + ] + }, "tag": "UserObject" }, "diffKind": "diff" diff --git a/transcripts/share-apis/definition-diffs/standard-ability-diff.json b/transcripts/share-apis/definition-diffs/standard-ability-diff.json index 4d0fc5d5..dacf1f3c 100644 --- a/transcripts/share-apis/definition-diffs/standard-ability-diff.json +++ b/transcripts/share-apis/definition-diffs/standard-ability-diff.json @@ -1,196 +1,314 @@ { "body": { "diff": { - "contents": [ - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "DataTypeKeyword" + "contents": { + "left": [ + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "ability" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "ability" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "contents": "BeforeAbility", - "tag": "HashQualifier" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "BeforeAbility", + "tag": "HashQualifier" + }, + "segment": "BeforeAbility" + } + ] }, - "segment": "BeforeAbility" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "contents": "AfterAbility", - "tag": "HashQualifier" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "ControlKeyword" + }, + "segment": " where" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "AfterAbility" - } - ] - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "ControlKeyword" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "#ebotvibo97n9s8ggp2n32jf6splp86102tjh70q395gmmdsfi45pvrvtkpot5e97ugg6t4j602ol001i3p28t62c8iga2rlma0ckfs0#a0", + "tag": "TermReference" + }, + "segment": "beforeAbility" + } + ] }, - "segment": " where" - }, - { - "annotation": null, - "segment": "\n" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "contents": "#ebotvibo97n9s8ggp2n32jf6splp86102tjh70q395gmmdsfi45pvrvtkpot5e97ugg6t4j602ol001i3p28t62c8iga2rlma0ckfs0#a0", - "tag": "TermReference" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "beforeAbility" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "contents": "#i1i6tae2gi8jp12lukns1e027i98ekbqhh6p5b944i44l6otiltjphbnmt2r844e2ukr2kppob3c5gvdpegc6ej54h9eg2j9gkc6ifg#a0", - "tag": "TermReference" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + } + ] }, - "segment": "afterAbility" - } - ] - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "TypeAscriptionColon" + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "TypeOperator" + }, + "segment": "->" + }, + { + "annotation": { + "tag": "AbilityBraces" + }, + "segment": "{" + } + ] }, - "segment": " :" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "contents": "##Nat", - "tag": "TypeReference" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "#ebotvibo97n9s8ggp2n32jf6splp86102tjh70q395gmmdsfi45pvrvtkpot5e97ugg6t4j602ol001i3p28t62c8iga2rlma0ckfs0", + "tag": "TypeReference" + }, + "segment": "BeforeAbility" + } + ] }, - "segment": "Nat" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "contents": "##Int", - "tag": "TypeReference" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "AbilityBraces" + }, + "segment": "}" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Text", + "tag": "TypeReference" + }, + "segment": "Text" + } + ] + } + ] + } + ], + "right": [ + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "ability" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "Int" - } - ] - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "TypeOperator" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "AfterAbility", + "tag": "HashQualifier" + }, + "segment": "AfterAbility" + } + ] }, - "segment": "->" - }, - { - "annotation": { - "tag": "AbilityBraces" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "ControlKeyword" + }, + "segment": " where" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "{" - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "contents": "#ebotvibo97n9s8ggp2n32jf6splp86102tjh70q395gmmdsfi45pvrvtkpot5e97ugg6t4j602ol001i3p28t62c8iga2rlma0ckfs0", - "tag": "TypeReference" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "#i1i6tae2gi8jp12lukns1e027i98ekbqhh6p5b944i44l6otiltjphbnmt2r844e2ukr2kppob3c5gvdpegc6ej54h9eg2j9gkc6ifg#a0", + "tag": "TermReference" + }, + "segment": "afterAbility" + } + ] }, - "segment": "BeforeAbility" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "contents": "#i1i6tae2gi8jp12lukns1e027i98ekbqhh6p5b944i44l6otiltjphbnmt2r844e2ukr2kppob3c5gvdpegc6ej54h9eg2j9gkc6ifg", - "tag": "TypeReference" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "AfterAbility" - } - ] - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "AbilityBraces" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "##Int", + "tag": "TypeReference" + }, + "segment": "Int" + } + ] }, - "segment": "}" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Text", - "tag": "TypeReference" + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "TypeOperator" + }, + "segment": "->" + }, + { + "annotation": { + "tag": "AbilityBraces" + }, + "segment": "{" + } + ] }, - "segment": "Text" - } - ] - } - ], + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "#i1i6tae2gi8jp12lukns1e027i98ekbqhh6p5b944i44l6otiltjphbnmt2r844e2ukr2kppob3c5gvdpegc6ej54h9eg2j9gkc6ifg", + "tag": "TypeReference" + }, + "segment": "AfterAbility" + } + ] + }, + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "AbilityBraces" + }, + "segment": "}" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Text", + "tag": "TypeReference" + }, + "segment": "Text" + } + ] + } + ] + } + ] + }, "tag": "UserObject" }, "diffKind": "diff", diff --git a/transcripts/share-apis/definition-diffs/standard-term-diff.json b/transcripts/share-apis/definition-diffs/standard-term-diff.json index 21b62495..e4a9ad8c 100644 --- a/transcripts/share-apis/definition-diffs/standard-term-diff.json +++ b/transcripts/share-apis/definition-diffs/standard-term-diff.json @@ -1,500 +1,935 @@ { "body": { "diff": { - "contents": [ - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "contents": "beforeTerm", - "tag": "HashQualifier" - }, - "segment": "beforeTerm" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "contents": "afterTerm", - "tag": "HashQualifier" - }, - "segment": "afterTerm" - } - ] - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "TypeAscriptionColon" - }, - "segment": " :" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Nat", - "tag": "TypeReference" - }, - "segment": "Nat" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "TypeOperator" - }, - "segment": "->" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Nat", - "tag": "TypeReference" - }, - "segment": "Nat" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "TypeOperator" - }, - "segment": "->" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "contents": "##Nat", - "tag": "TypeReference" - }, - "segment": "Nat" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "TypeOperator" - }, - "segment": "->" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "DelayForceChar" + "contents": { + "left": [ + { + "kind": "changed", + "value": [ + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "beforeTerm", + "tag": "HashQualifier" + }, + "segment": "beforeTerm" + } + ] }, - "segment": "'" - }, - { - "annotation": { - "contents": "##Nat", - "tag": "TypeReference" - }, - "segment": "Nat" - }, - { - "annotation": null, - "segment": "\n" - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "contents": "beforeTerm", - "tag": "HashQualifier" - }, - "segment": "beforeTerm" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "contents": "afterTerm", - "tag": "HashQualifier" - }, - "segment": "afterTerm" - } - ] - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "Var" - }, - "segment": "x" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "Var" - }, - "segment": "y" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "Var" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "TypeOperator" + }, + "segment": "->" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "TypeOperator" + }, + "segment": "->" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "DelayForceChar" + }, + "segment": "'" + }, + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "beforeTerm", + "tag": "HashQualifier" + }, + "segment": "beforeTerm" + } + ] }, - "segment": "z" - } - ] - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "BindingEquals" + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "x" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "y" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "ControlKeyword" + }, + "segment": "do" + } + ] + } + ] + }, + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "UseKeyword" + }, + "segment": "use " + }, + { + "annotation": { + "tag": "UsePrefix" + }, + "segment": "Nat" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "UseSuffix" + }, + "segment": "+" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "myList", + "tag": "HashQualifier" + }, + "segment": "myList" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Sequence", + "tag": "TypeReference" + }, + "segment": "[" + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "x" + }, + { + "annotation": { + "contents": "##Sequence", + "tag": "TypeReference" + }, + "segment": ", " + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "y" + }, + { + "annotation": { + "contents": "##Sequence", + "tag": "TypeReference" + }, + "segment": ", " + } + ] }, - "segment": " =" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "ControlKeyword" + { + "diffTag": "annotationChange", + "fromAnnotation": { + "contents": "#gmjjuqjosr81oqnm9ck6atmve2tnnuu4c5nk89apmg79nsu5djpl6av0os0ekqil0gekdjoianh1rrem7lddsq2i26itq40tbkfgon0", + "tag": "TermReference" + }, + "segment": "valueChangesButNameStaysSame", + "toAnnotation": { + "contents": "#gjmq673r1vrurfotlnirv7vutdhm6sa3s02em5g22kk606mv6duvv8be402dv79312i4a0onepq5bo7citsodvq2g720nttj0ee9p0g", + "tag": "TermReference" + } }, - "segment": "do" - }, - { - "annotation": null, - "segment": "\n" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "UseKeyword" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "##Sequence", + "tag": "TypeReference" + }, + "segment": ", " + } + ] }, - "segment": "use " - }, - { - "annotation": { - "tag": "UsePrefix" + { + "annotation": { + "contents": "#pi25gcdv0oq0no6k2ahe6t849u7ht4lopeg5fve58ga5t17a49f1dkbmdm6dn063bn3tsd4adijr4ltf7ad6do8u71oa72i27oack2o", + "tag": "TermReference" + }, + "diffTag": "segmentChange", + "fromSegment": "nameChangesButValueStaysSame", + "toSegment": "changedNameWithSameValue" }, - "segment": "Nat" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "UseSuffix" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "##Sequence", + "tag": "TypeReference" + }, + "segment": "]" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "myList2", + "tag": "HashQualifier" + }, + "segment": "myList2" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "#6frvp5jfjtt7odi9769i0p5phuuuij1fi1d9l5ncpelh416ab3vceaphhaijh0ct0v9n793j7e4h78687oij6ai97085u63m264gj5o", + "tag": "TermReference" + }, + "segment": "List.map" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "Parenthesis" + }, + "segment": "(" + }, + { + "annotation": null, + "segment": "x" + }, + { + "annotation": { + "tag": "ControlKeyword" + }, + "segment": " ->" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "x" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Nat.+", + "tag": "TermReference" + }, + "segment": "+" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "+" - }, - { - "annotation": null, - "segment": "\n" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "myList", - "tag": "HashQualifier" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "tag": "NumericLiteral" + }, + "segment": "1" + } + ] }, - "segment": "myList" - }, - { - "annotation": { - "tag": "BindingEquals" - }, - "segment": " =" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Sequence", - "tag": "TypeReference" - }, - "segment": "[" - }, - { - "annotation": { - "tag": "Var" - }, - "segment": "x" - }, - { - "annotation": { - "contents": "##Sequence", - "tag": "TypeReference" - }, - "segment": ", " - }, - { - "annotation": { - "tag": "Var" - }, - "segment": "y" - }, - { - "annotation": { - "contents": "##Sequence", - "tag": "TypeReference" - }, - "segment": ", " - } - ] - }, - { - "diffTag": "annotationChange", - "fromAnnotation": { - "contents": "#gmjjuqjosr81oqnm9ck6atmve2tnnuu4c5nk89apmg79nsu5djpl6av0os0ekqil0gekdjoianh1rrem7lddsq2i26itq40tbkfgon0", - "tag": "TermReference" - }, - "segment": "valueChangesButNameStaysSame", - "toAnnotation": { - "contents": "#gjmq673r1vrurfotlnirv7vutdhm6sa3s02em5g22kk606mv6duvv8be402dv79312i4a0onepq5bo7citsodvq2g720nttj0ee9p0g", - "tag": "TermReference" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "Parenthesis" + }, + "segment": ")" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "myList" + } + ] + } + ] + }, + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##List.size", + "tag": "TermReference" + }, + "segment": "List.size" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "myList2" + } + ] + } + ] } - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "contents": "##Sequence", - "tag": "TypeReference" - }, - "segment": ", " - } - ] - }, - { - "annotation": { - "contents": "#pi25gcdv0oq0no6k2ahe6t849u7ht4lopeg5fve58ga5t17a49f1dkbmdm6dn063bn3tsd4adijr4ltf7ad6do8u71oa72i27oack2o", - "tag": "TermReference" - }, - "diffTag": "segmentChange", - "fromSegment": "nameChangesButValueStaysSame", - "toSegment": "changedNameWithSameValue" - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "contents": "##Sequence", - "tag": "TypeReference" - }, - "segment": "]" - }, - { - "annotation": null, - "segment": "\n" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "myList2", - "tag": "HashQualifier" - }, - "segment": "myList2" - }, - { - "annotation": { - "tag": "BindingEquals" + ], + "right": [ + { + "kind": "changed", + "value": [ + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "afterTerm", + "tag": "HashQualifier" + }, + "segment": "afterTerm" + } + ] }, - "segment": " =" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "#6frvp5jfjtt7odi9769i0p5phuuuij1fi1d9l5ncpelh416ab3vceaphhaijh0ct0v9n793j7e4h78687oij6ai97085u63m264gj5o", - "tag": "TermReference" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "TypeOperator" + }, + "segment": "->" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "TypeOperator" + }, + "segment": "->" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "List.map" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "Parenthesis" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "TypeOperator" + }, + "segment": "->" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "(" - }, - { - "annotation": null, - "segment": "x" - }, - { - "annotation": { - "tag": "ControlKeyword" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DelayForceChar" + }, + "segment": "'" + }, + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "afterTerm", + "tag": "HashQualifier" + }, + "segment": "afterTerm" + } + ] }, - "segment": " ->" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "Var" + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "x" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "y" + } + ] }, - "segment": "x" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Nat.+", - "tag": "TermReference" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "z" + } + ] }, - "segment": "+" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "tag": "NumericLiteral" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "ControlKeyword" + }, + "segment": "do" + } + ] + } + ] + }, + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "UseKeyword" + }, + "segment": "use " + }, + { + "annotation": { + "tag": "UsePrefix" + }, + "segment": "Nat" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "UseSuffix" + }, + "segment": "+" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "myList", + "tag": "HashQualifier" + }, + "segment": "myList" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Sequence", + "tag": "TypeReference" + }, + "segment": "[" + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "x" + }, + { + "annotation": { + "contents": "##Sequence", + "tag": "TypeReference" + }, + "segment": ", " + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "y" + }, + { + "annotation": { + "contents": "##Sequence", + "tag": "TypeReference" + }, + "segment": ", " + } + ] }, - "segment": "1" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "tag": "Var" + { + "diffTag": "annotationChange", + "fromAnnotation": { + "contents": "#gjmq673r1vrurfotlnirv7vutdhm6sa3s02em5g22kk606mv6duvv8be402dv79312i4a0onepq5bo7citsodvq2g720nttj0ee9p0g", + "tag": "TermReference" + }, + "segment": "valueChangesButNameStaysSame", + "toAnnotation": { + "contents": "#gmjjuqjosr81oqnm9ck6atmve2tnnuu4c5nk89apmg79nsu5djpl6av0os0ekqil0gekdjoianh1rrem7lddsq2i26itq40tbkfgon0", + "tag": "TermReference" + } }, - "segment": "z" - } - ] - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "Parenthesis" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "##Sequence", + "tag": "TypeReference" + }, + "segment": ", " + } + ] }, - "segment": ")" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "Var" + { + "annotation": { + "contents": "#pi25gcdv0oq0no6k2ahe6t849u7ht4lopeg5fve58ga5t17a49f1dkbmdm6dn063bn3tsd4adijr4ltf7ad6do8u71oa72i27oack2o", + "tag": "TermReference" + }, + "diffTag": "segmentChange", + "fromSegment": "changedNameWithSameValue", + "toSegment": "nameChangesButValueStaysSame" }, - "segment": "myList" - }, - { - "annotation": null, - "segment": "\n" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##List.size", - "tag": "TermReference" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "contents": "##Sequence", + "tag": "TypeReference" + }, + "segment": "]" + } + ] + } + ] + }, + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "myList2", + "tag": "HashQualifier" + }, + "segment": "myList2" + }, + { + "annotation": { + "tag": "BindingEquals" + }, + "segment": " =" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "#6frvp5jfjtt7odi9769i0p5phuuuij1fi1d9l5ncpelh416ab3vceaphhaijh0ct0v9n793j7e4h78687oij6ai97085u63m264gj5o", + "tag": "TermReference" + }, + "segment": "List.map" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "Parenthesis" + }, + "segment": "(" + }, + { + "annotation": null, + "segment": "x" + }, + { + "annotation": { + "tag": "ControlKeyword" + }, + "segment": " ->" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "x" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Nat.+", + "tag": "TermReference" + }, + "segment": "+" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "List.size" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "tag": "Var" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "tag": "Var" + }, + "segment": "z" + } + ] }, - "segment": "myList2" - } - ] - } - ], + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "Parenthesis" + }, + "segment": ")" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "myList" + } + ] + } + ] + }, + { + "kind": "unchanged", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##List.size", + "tag": "TermReference" + }, + "segment": "List.size" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "tag": "Var" + }, + "segment": "myList2" + } + ] + } + ] + } + ] + }, "tag": "UserObject" }, "diffKind": "diff", diff --git a/transcripts/share-apis/definition-diffs/standard-type-diff.json b/transcripts/share-apis/definition-diffs/standard-type-diff.json index b37f1b71..2308b430 100644 --- a/transcripts/share-apis/definition-diffs/standard-type-diff.json +++ b/transcripts/share-apis/definition-diffs/standard-type-diff.json @@ -1,148 +1,234 @@ { "body": { "diff": { - "contents": [ - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "DataTypeKeyword" + "contents": { + "left": [ + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "type" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "type" - }, - { - "annotation": null, - "segment": " " - } - ] - }, - { - "diffTag": "old", - "elements": [ - { - "annotation": { - "contents": "BeforeType", - "tag": "HashQualifier" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "BeforeType", + "tag": "HashQualifier" + }, + "segment": "BeforeType" + } + ] }, - "segment": "BeforeType" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "contents": "AfterType", - "tag": "HashQualifier" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DelimiterChar" + }, + "segment": " = " + }, + { + "annotation": { + "tag": "DelimiterChar" + }, + "segment": "{ " + } + ] }, - "segment": "AfterType" - } - ] - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "DelimiterChar" + { + "diffTag": "annotationChange", + "fromAnnotation": { + "contents": "#jjpne828dfnvlhiij4i567rd9v2guhbu0qt1eanjrf5oon2djjhod5ej85lp14e3iu24db9kgp1rjqh94vtrei7p3k69b7scfoqlup8", + "tag": "TypeReference" + }, + "segment": "fieldOne", + "toAnnotation": { + "contents": "#kumofu6ae22blpbip9rl33nvbkqfho86mohivuum8uabph37i4po78fi0120hmka4blrabancldnp93o75s35cc18vi8o9hdu3qrku8", + "tag": "TypeReference" + } }, - "segment": " = " - }, - { - "annotation": { - "tag": "DelimiterChar" - }, - "segment": "{ " - } - ] - }, - { - "diffTag": "annotationChange", - "fromAnnotation": { - "contents": "#jjpne828dfnvlhiij4i567rd9v2guhbu0qt1eanjrf5oon2djjhod5ej85lp14e3iu24db9kgp1rjqh94vtrei7p3k69b7scfoqlup8", - "tag": "TypeReference" - }, - "segment": "fieldOne", - "toAnnotation": { - "contents": "#kumofu6ae22blpbip9rl33nvbkqfho86mohivuum8uabph37i4po78fi0120hmka4blrabancldnp93o75s35cc18vi8o9hdu3qrku8", - "tag": "TypeReference" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + }, + { + "annotation": { + "tag": "DelimiterChar" + }, + "segment": " }" + } + ] + } + ] } - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "TypeAscriptionColon" - }, - "segment": " :" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Nat", - "tag": "TypeReference" + ], + "right": [ + { + "kind": "changed", + "value": [ + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DataTypeKeyword" + }, + "segment": "type" + }, + { + "annotation": null, + "segment": " " + } + ] }, - "segment": "Nat" - } - ] - }, - { - "diffTag": "new", - "elements": [ - { - "annotation": { - "tag": "DelimiterChar" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "contents": "AfterType", + "tag": "HashQualifier" + }, + "segment": "AfterType" + } + ] }, - "segment": "," - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "#kumofu6ae22blpbip9rl33nvbkqfho86mohivuum8uabph37i4po78fi0120hmka4blrabancldnp93o75s35cc18vi8o9hdu3qrku8", - "tag": "TypeReference" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DelimiterChar" + }, + "segment": " = " + }, + { + "annotation": { + "tag": "DelimiterChar" + }, + "segment": "{ " + } + ] }, - "segment": "fieldTwo" - }, - { - "annotation": { - "tag": "TypeAscriptionColon" + { + "diffTag": "annotationChange", + "fromAnnotation": { + "contents": "#kumofu6ae22blpbip9rl33nvbkqfho86mohivuum8uabph37i4po78fi0120hmka4blrabancldnp93o75s35cc18vi8o9hdu3qrku8", + "tag": "TypeReference" + }, + "segment": "fieldOne", + "toAnnotation": { + "contents": "#jjpne828dfnvlhiij4i567rd9v2guhbu0qt1eanjrf5oon2djjhod5ej85lp14e3iu24db9kgp1rjqh94vtrei7p3k69b7scfoqlup8", + "tag": "TypeReference" + } }, - "segment": " :" - }, - { - "annotation": null, - "segment": " " - }, - { - "annotation": { - "contents": "##Text", - "tag": "TypeReference" + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Nat", + "tag": "TypeReference" + }, + "segment": "Nat" + } + ] }, - "segment": "Text" - } - ] - }, - { - "diffTag": "both", - "elements": [ - { - "annotation": { - "tag": "DelimiterChar" + { + "diffTag": "oneSided", + "elements": [ + { + "annotation": { + "tag": "DelimiterChar" + }, + "segment": "," + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "#kumofu6ae22blpbip9rl33nvbkqfho86mohivuum8uabph37i4po78fi0120hmka4blrabancldnp93o75s35cc18vi8o9hdu3qrku8", + "tag": "TypeReference" + }, + "segment": "fieldTwo" + }, + { + "annotation": { + "tag": "TypeAscriptionColon" + }, + "segment": " :" + }, + { + "annotation": null, + "segment": " " + }, + { + "annotation": { + "contents": "##Text", + "tag": "TypeReference" + }, + "segment": "Text" + } + ] }, - "segment": " }" - } - ] - } - ], + { + "diffTag": "both", + "elements": [ + { + "annotation": { + "tag": "DelimiterChar" + }, + "segment": " }" + } + ] + } + ] + } + ] + }, "tag": "UserObject" }, "diffKind": "diff", diff --git a/unison b/unison index 3257bad5..b3418a8f 160000 --- a/unison +++ b/unison @@ -1 +1 @@ -Subproject commit 3257bad5503f30d9c97d961e9bc6633162b2cf96 +Subproject commit b3418a8fd17532d5aa87b83a6632d7190a8fb0b1