Computer Programming with the Nim Programming Language
separated by commas. Using the mapIt() procedure imported from the SEQUTILS module and the fmt() macro from the STRFORMAT module, we may write that in functional programming style in this way: from style myStr.len.[16] The powerful AST-based hygienic macro system offers nearly unlimited possibilities for the advanced programmer. This macro and meta- programming system allows compiler-guided code creates a temporary copy, which may not be optimal for performance. Since Nim version 1.2, a dup() macro is available from the SUGAR module that creates copies of variables and then applies one or more0 码力 | 865 页 | 7.45 MB | 1 年前3
Computer Programming with the Nim Programming Language
separated by commas. Using the mapIt() procedure imported from the SEQUTILS module and the fmt() macro from the STRFORMAT module, we may write that in functional programming style in this way: from style myStr.len.[16] The powerful AST-based hygienic macro system offers nearly unlimited possibilities for the advanced programmer. This macro and meta- programming system allows compiler-guided code creates a temporary copy, which may not be optimal for performance. Since Nim version 1.2, a dup() macro is available from the SUGAR module that creates copies of variables and then applies one or more0 码力 | 784 页 | 2.13 MB | 1 年前3
Agda User Manual v2.5.2constructor data eta- equality field forall hiding import in inductive infix infixl infixr instance let macro module mutual no-eta-equality open overlap pattern postulate primitive private public quote quoteContext sequence of statements and is started by one of the layout keywords: abstract field instance let macro mutual postulate primitive private where The first token after the layout keyword decides the indentation Replaces 'primNameDefinition'. getDefinition : Name → TC Definition -- Check if a name refers to a macro isMacro : Name → TC Bool -- Change the behaviour of inferType, checkType, quoteTC, getContext0 码力 | 151 页 | 152.49 KB | 1 年前3
Agda User Manual v2.5.3constructor data eta- equality field forall hiding import in inductive infix infixl infixr instance let macro module mutual no-eta-equality open overlap pattern postulate primitive private public quote quoteContext sequence of statements and is started by one of the layout keywords: abstract field instance let macro mutual postulate primitive private where The first token after the layout keyword decides the indentation Replaces 'primNameDefinition'. getDefinition : Name → TC Definition -- Check if a name refers to a macro isMacro : Name → TC Bool -- Change the behaviour of inferType, checkType, quoteTC, getContext0 码力 | 185 页 | 185.00 KB | 1 年前3
Agda User Manual v2.5.4.2constructor data do eta-equality field forall hiding import in inductive infix infixl infixr instance let macro module mutual no-eta-equality open overlap pattern postulate primitive private public quote quoteContext sequence of statements and is started by one of the layout keywords: abstract do field instance let macro mutual postulate primitive private where The first token after the layout keyword decides the indentation Replaces 'primNameDefinition'. getDefinition : Name → TC Definition -- Check if a name refers to a macro isMacro : Name → TC Bool -- Change the behaviour of inferType, checkType, quoteTC, getContext0 码力 | 216 页 | 207.61 KB | 1 年前3
Agda User Manual v2.5.4.1constructor data do eta-equality field forall hiding import in inductive infix infixl infixr instance let macro module mutual no-eta-equality open overlap pattern postulate primitive private public quote quoteContext sequence of statements and is started by one of the layout keywords: abstract do field instance let macro mutual postulate primitive private where The first token after the layout keyword decides the indentation Replaces 'primNameDefinition'. getDefinition : Name → TC Definition -- Check if a name refers to a macro isMacro : Name → TC Bool -- Change the behaviour of inferType, checkType, quoteTC, getContext0 码力 | 216 页 | 207.64 KB | 1 年前3
Agda User Manual v2.5.4constructor data do eta-equality field forall hiding import in inductive infix infixl infixr instance let macro module mutual no-eta-equality open overlap pattern postulate primitive private public quote quoteContext sequence of statements and is started by one of the layout keywords: abstract do field instance let macro mutual postulate primitive private where The first token after the layout keyword decides the indentation Replaces 'primNameDefinition'. getDefinition : Name → TC Definition -- Check if a name refers to a macro isMacro : Name → TC Bool -- Change the behaviour of inferType, checkType, quoteTC, getContext0 码力 | 216 页 | 207.63 KB | 1 年前3
Agda User Manual v2.6.0.1constructor data do eta-equality field forall hiding import in inductive infix infixl infixr instance let macro module mutual no-eta-equality open overlap pattern postulate primitive private public quote quoteContext sequence of statements and is started by one of the layout keywords: abstract do field instance let macro mutual postulate primitive private where The first token after the layout keyword decides the indentation Replaces 'primNameDefinition'. getDefinition : Name → TC Definition -- Check if a name refers to a macro isMacro : Name → TC Bool -- Change the behaviour of inferType, checkType, quoteTC, getContext0 码力 | 256 页 | 247.15 KB | 1 年前3
Agda User Manual v2.6.0constructor data do eta-equality field forall hiding import in inductive infix infixl infixr instance let macro module mutual no-eta-equality open overlap pattern postulate primitive private public quote quoteContext sequence of statements and is started by one of the layout keywords: abstract do field instance let macro mutual postulate primitive private where The first token after the layout keyword decides the indentation Replaces 'primNameDefinition'. getDefinition : Name → TC Definition -- Check if a name refers to a macro isMacro : Name → TC Bool -- Change the behaviour of inferType, checkType, quoteTC, getContext0 码力 | 256 页 | 246.87 KB | 1 年前3
Agda User Manual v2.6.1.3constructor data do eta-equality field forall hiding import in inductive infix infixl infixr instance let macro module mutual no-eta-equality open overlap pattern postulate primitive private public quote quoteContext sequence of statements and is started by one of the layout keywords: abstract do field instance let macro mutual postulate primitive private where The first token after the layout keyword decides the indentation Replaces 'primNameDefinition'. getDefinition : Name → TC Definition -- Check if a name refers to a macro isMacro : Name → TC Bool -- Change the behaviour of inferType, checkType, quoteTC, getContext0 码力 | 305 页 | 375.80 KB | 1 年前3
共 177 条
- 1
- 2
- 3
- 4
- 5
- 6
- 18













