|
280 | 280 | % Arguments: Parameter type, number of required parameters,
|
281 | 281 | % name of optional parameters, number of optional parameters.
|
282 | 282 | \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 | + |
285 | 285 | \newcommand{\FunctionTypeNamedArgumentsStd}{%
|
286 | 286 | \FunctionTypeNamedArguments{T}{n}{x}{k}}
|
287 | 287 |
|
|
290 | 290 | % number of type parameters, parameter type, number of required parameters,
|
291 | 291 | % name of optional parameters, number of optional parameters.
|
292 | 292 | \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}}} |
295 | 295 |
|
296 | 296 | % Same as \FunctionType except suitable for inline usage, hence omitting
|
297 | 297 | % the spacer argument.
|
|
327 | 327 | \newcommand{\FunctionTypeNamedStdCr}[1]{%
|
328 | 328 | \FunctionTypeNamed{#1}{\\}{X}{B}{s}{T}{n}{x}{k}}
|
329 | 329 |
|
| 330 | +\newcommand{\FunctionTypeNamedStdArgCr}[1]{% |
| 331 | + \FunctionTypeNamedArgCr{#1}{ }{X}{B}{s}{T}{n}{x}{k}} |
| 332 | + |
330 | 333 | \newcommand{\FunctionTypeAllRequiredStdCr}[1]{%
|
331 | 334 | \FunctionTypeAllRequired{#1}{\\}{X}{B}{s}{T}{n}}
|
332 | 335 |
|
|
399 | 402 | \newcommand{\NnbdTopMergeName}{\metavar{topMerge}}
|
400 | 403 | \newcommand{\NnbdTopMerge}[2]{\ensuremath{\NnbdTopMergeName(\code{{#1},\,\,{#2}})}}
|
401 | 404 |
|
402 |
| -\newcommand{\NonNullTypeOfName}{\metavar{nonNullTypeOf}} |
| 405 | +\newcommand{\NonNullTypeOfName}{\metavar{nonNullType}} |
403 | 406 | \newcommand{\NonNullTypeOf}[1]{\ensuremath{\NonNullTypeOfName(\code{#1})}}
|
404 | 407 |
|
405 | 408 | \newcommand{\IsTopTypeName}{\metavar{isTopType}}
|
|
420 | 423 | \newcommand{\IsMoreBottomTypeName}{\metavar{isMoreBottomType}}
|
421 | 424 | \newcommand{\IsMoreBottomType}[2]{\ensuremath{\IsMoreBottomTypeName(\code{{#1},\,\,{#2}})}}
|
422 | 425 |
|
423 |
| -\newcommand{\NormalizedTypeOfName}{\metavar{normalizedTypeOf}} |
| 426 | +\newcommand{\NormalizedTypeOfName}{\metavar{normalizedType}} |
424 | 427 | \newcommand{\NormalizedTypeOf}[1]{\ensuremath{\NormalizedTypeOfName(\code{#1})}}
|
425 | 428 |
|
426 |
| -\newcommand{\FutureValueTypeOfName}{\metavar{futureValueTypeOf}} |
| 429 | +\newcommand{\FutureValueTypeOfName}{\metavar{futureValueType}} |
427 | 430 | \newcommand{\FutureValueTypeOf}[1]{\ensuremath{\FutureValueTypeOfName(\code{#1})}}
|
428 | 431 |
|
| 432 | +\newcommand{\DefEquals}[2]{\ensuremath{{#1}\stackrel{\triangle}{=}{#2}}} |
| 433 | + |
429 | 434 | % ----------------------------------------------------------------------
|
430 | 435 | % Support for hash valued Location Markers
|
431 | 436 |
|
|
0 commit comments