Constructing Generic Algorithms
CONSTRUCTING GENERIC CONSTRUCTING GENERIC ALGORITHMS ALGORITHMS BEN DEANE / BEN DEANE / 16TH SEPTEMBER 2020 16TH SEPTEMBER 2020 @ben_deane @ben_deane 1WHAT WE'LL COVER WHAT WE'LL COVER Preliminaries:0 码力 | 145 页 | 8.44 MB | 5 月前3The Roles of Symmetry And Orthogonality In Design
nd) Register storage duration is automatic plus compiler hints (until C++17) // ... Bar b; constructing destructing Object Lifetime Lifetime ends when destructor call starts Lifetime begins when behavior (“bugs”) may occur when accessing an object outside its lifetime // ... Bar b; constructing destructing Object Lifetime Lifetime ends when destructor call starts Lifetime begins when behavior (“bugs”) may occur when accessing an object outside its lifetime // ... Bar b; constructing destructing Object Lifetime Lifetime ends when destructor call starts Lifetime begins when0 码力 | 151 页 | 3.20 MB | 5 月前3Just-in-Time Compilation - J F Bastien - CppCon 2020
just in time Avoiding unnecessary overhead is crucial for fast compilation. In many compilers, constructing an intermediate representation (IR) of a method is a standard process. When compiling from Java just in time Avoiding unnecessary overhead is crucial for fast compilation. In many compilers, constructing an intermediate representation (IR) of a method is a standard process. When compiling from Java just in time Avoiding unnecessary overhead is crucial for fast compilation. In many compilers, constructing an intermediate representation (IR) of a method is a standard process. When compiling from Java0 码力 | 111 页 | 3.98 MB | 5 月前3Agda User Manual v2.5.4.2
pragmas Postulates Postulated built-ins Pragmas Index of pragmas Record Types Declaring, constructing and decomposing records Record modules Eta-expansion Recursive records Instance fields Reflection expression e explicitly for y without giving a value for x we can write subst C {y = e} eq cx When constructing implicit function spaces the implicit argument can be omitted, so both expressions below are valid "DEPRECATED: Use `id` instead of `λx→x`" #-} Record Types Declaring, constructing and decomposing records Declarating record types Constructing record values Decomposing record values Record update Record modules0 码力 | 216 页 | 207.61 KB | 1 年前3Agda User Manual v2.5.4.1
pragmas Postulates Postulated built-ins Pragmas Index of pragmas Record Types Declaring, constructing and decomposing records Record modules Eta-expansion Recursive records Instance fields Reflection expression e explicitly for y without giving a value for x we can write subst C {y = e} eq cx When constructing implicit function spaces the implicit argument can be omitted, so both expressions below are valid "DEPRECATED: Use `id` instead of `λx→x`" #-} Record Types Declaring, constructing and decomposing records Declarating record types Constructing record values Decomposing record values Record update Record modules0 码力 | 216 页 | 207.64 KB | 1 年前3Agda User Manual v2.5.4
pragmas Postulates Postulated built-ins Pragmas Index of pragmas Record Types Declaring, constructing and decomposing records Record modules Eta-expansion Recursive records Instance fields Reflection expression e explicitly for y without giving a value for x we can write subst C {y = e} eq cx When constructing implicit function spaces the implicit argument can be omitted, so both expressions below are valid "DEPRECATED: Use `id` instead of `λx→x`" #-} Record Types Declaring, constructing and decomposing records Declarating record types Constructing record values Decomposing record values Record update Record modules0 码力 | 216 页 | 207.63 KB | 1 年前3Agda User Manual v2.6.0.1
predicative hierarchy of Prop The propositional squash type Limitations Record Types Declaring, constructing and decomposing records Record modules Eta-expansion Recursive records Instance fields Reflection p i In the drawing the direction i goes left-to-right and j goes bottom-to-top. As we are constructing a path from x to z along i we have i : I in the context already and we put p i as bottom. The repeated in this example: const : {A = X : Set} {B = Y : Set} → A → B → A const x y = x When constructing implicit function spaces the implicit argument can be omitted, so both expressions below are valid0 码力 | 256 页 | 247.15 KB | 1 年前3Agda User Manual v2.6.0
predicative hierarchy of Prop The propositional squash type Limitations Record Types Declaring, constructing and decomposing records Record modules Eta-expansion Recursive records Instance fields Reflection p i In the drawing the direction i goes left-to-right and j goes bottom-to-top. As we are constructing a path from x to z along i we have i : I in the context already and we put p i as bottom. The repeated in this example: const : {A = X : Set} {B = Y : Set} → A → B → A const x y = x When constructing implicit function spaces the implicit argument can be omitted, so both expressions below are valid0 码力 | 256 页 | 246.87 KB | 1 年前3Agda User Manual v2.5.4
expression e explicitly for y without giving a value for x we can write subst C {y = e} eq cx When constructing implicit function spaces the implicit argument can be omitted, so both expressions below are valid `id` instead of `?x→x`" #-} 3.24 Record Types • Declaring, constructing and decomposing records – Declarating record types – Constructing record values – Decomposing record values – Record update behave much like single constructor datatypes (but see Eta-expansion below). 3.24.1 Declaring, constructing and decomposing records Declarating record types The general form of a record declaration is0 码力 | 155 页 | 668.67 KB | 1 年前3Agda User Manual v2.5.4.1
expression e explicitly for y without giving a value for x we can write subst C {y = e} eq cx When constructing implicit function spaces the implicit argument can be omitted, so both expressions below are valid `id` instead of `?x→x`" #-} 3.24 Record Types • Declaring, constructing and decomposing records – Declarating record types – Constructing record values – Decomposing record values – Record update behave much like single constructor datatypes (but see Eta-expansion below). 3.24.1 Declaring, constructing and decomposing records Declarating record types The general form of a record declaration is0 码力 | 155 页 | 668.90 KB | 1 年前3
共 961 条
- 1
- 2
- 3
- 4
- 5
- 6
- 97