Skip to content

Commit 76a9381

Browse files
committed
Rebasing
1 parent 90a6386 commit 76a9381

File tree

2 files changed

+1144
-949
lines changed

2 files changed

+1144
-949
lines changed

specification/dart.sty

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@
280280
% Arguments: Parameter type, number of required parameters,
281281
% name of optional parameters, number of optional parameters.
282282
\newcommand{\FunctionTypeNamedArguments}[4]{%
283-
\List{#1}{1}{#2},\ \{\PairList{#1}{#3}{{#2}+1}{{#2}+{#4}}\}}
284-
283+
\List{#1}{1}{#2},\ \{\TripleList{r}{#1}{#3}{{#2}+1}{{#2}+{#4}}\}}
284+
285285
\newcommand{\FunctionTypeNamedArgumentsStd}{%
286286
\FunctionTypeNamedArguments{T}{n}{x}{k}}
287287

@@ -290,8 +290,8 @@
290290
% number of type parameters, parameter type, number of required parameters,
291291
% name of optional parameters, number of optional parameters.
292292
\newcommand{\FunctionTypeNamed}[9]{%
293-
\FunctionType{#1}{#2}{#3}{#4}{#5}{%
294-
\FunctionTypeNamedArguments{#6}{#7}{#8}{#9}}}
293+
\FunctionType{#1}{#2}{#3}{#4}{#5}{\\
294+
\mbox{}\qquad\FunctionTypeNamedArguments{#6}{#7}{#8}{#9}}}
295295

296296
% Same as \FunctionType except suitable for inline usage, hence omitting
297297
% the spacer argument.
@@ -327,6 +327,9 @@
327327
\newcommand{\FunctionTypeNamedStdCr}[1]{%
328328
\FunctionTypeNamed{#1}{\\}{X}{B}{s}{T}{n}{x}{k}}
329329

330+
\newcommand{\FunctionTypeNamedStdArgCr}[1]{%
331+
\FunctionTypeNamedArgCr{#1}{ }{X}{B}{s}{T}{n}{x}{k}}
332+
330333
\newcommand{\FunctionTypeAllRequiredStdCr}[1]{%
331334
\FunctionTypeAllRequired{#1}{\\}{X}{B}{s}{T}{n}}
332335

@@ -399,7 +402,7 @@
399402
\newcommand{\NnbdTopMergeName}{\metavar{topMerge}}
400403
\newcommand{\NnbdTopMerge}[2]{\ensuremath{\NnbdTopMergeName(\code{{#1},\,\,{#2}})}}
401404

402-
\newcommand{\NonNullTypeOfName}{\metavar{nonNullTypeOf}}
405+
\newcommand{\NonNullTypeOfName}{\metavar{nonNullType}}
403406
\newcommand{\NonNullTypeOf}[1]{\ensuremath{\NonNullTypeOfName(\code{#1})}}
404407

405408
\newcommand{\IsTopTypeName}{\metavar{isTopType}}
@@ -420,12 +423,14 @@
420423
\newcommand{\IsMoreBottomTypeName}{\metavar{isMoreBottomType}}
421424
\newcommand{\IsMoreBottomType}[2]{\ensuremath{\IsMoreBottomTypeName(\code{{#1},\,\,{#2}})}}
422425

423-
\newcommand{\NormalizedTypeOfName}{\metavar{normalizedTypeOf}}
426+
\newcommand{\NormalizedTypeOfName}{\metavar{normalizedType}}
424427
\newcommand{\NormalizedTypeOf}[1]{\ensuremath{\NormalizedTypeOfName(\code{#1})}}
425428

426-
\newcommand{\FutureValueTypeOfName}{\metavar{futureValueTypeOf}}
429+
\newcommand{\FutureValueTypeOfName}{\metavar{futureValueType}}
427430
\newcommand{\FutureValueTypeOf}[1]{\ensuremath{\FutureValueTypeOfName(\code{#1})}}
428431

432+
\newcommand{\DefEquals}[2]{\ensuremath{{#1}\stackrel{\triangle}{=}{#2}}}
433+
429434
% ----------------------------------------------------------------------
430435
% Support for hash valued Location Markers
431436

0 commit comments

Comments
 (0)