The Absurdity of Error Handling
The Absurdity of Error Handling: Finding a Purpose for Errors in Safety-Critical SYCL Erik Tomusk CppCon 2023 October 5, 2023© 2023 Codeplay Software Ltd. Codeplay Corporate Slide 2© 2023 Codeplay are so well-defined, predictable, and well-understood as to allow application-level recovery • Absurdity of error handling: The set of errors that can be “handled” is (nearly) empty • Is error handling0 码力 | 43 页 | 1.39 MB | 5 月前3Agda User Manual v2.6.3
compatible with --safe. Absurd clauses do not need any special handling (since the transport of an absurdity is still absurd), so definitions which rely on Agda’s ability to automatically separate constructors This implies all applications of absurd are the same: only-one-absurdity : {A : Set} → (p q : ⊥) → absurd A p ≡ absurd A q only-one-absurdity p q = refl Since pattern matching on datatypes in Prop is limited0 码力 | 379 页 | 354.83 KB | 1 年前3Agda User Manual v2.6.3
compatible with --safe. Absurd clauses do not need any special handling (since the transport of an absurdity is still absurd), so defini- tions which rely on Agda’s ability to automatically separate constructors same: 3.32. Prop 145 Agda User Manual, Release 2.6.3 only-one-absurdity : {A : Set} → (p q : ⊥) → absurd A p ≡ absurd A q only-one-absurdity p q = refl Since pattern matching on datatypes in Prop is limited0 码力 | 288 页 | 1.24 MB | 1 年前3Agda User Manual v2.6.4.1
compatible with --safe. Absurd clauses do not need any special handling (since the transport of an absurdity is still absurd), so defini- tions which rely on Agda’s ability to automatically separate constructors This implies all applications of absurd are the same: only-one-absurdity : {A : Set} → (p q : ⊥) → absurd A p ≡ absurd A q only-one-absurdity p q = refl Since pattern matching on datatypes in Prop is limited0 码力 | 311 页 | 1.38 MB | 1 年前3Agda User Manual v2.6.4.3
compatible with --safe. Absurd clauses do not need any special handling (since the transport of an absurdity is still absurd), so defini- tions which rely on Agda’s ability to automatically separate constructors This implies all applications of absurd are the same: only-one-absurdity : {A : Set} → (p q : ⊥) → absurd A p ≡ absurd A q only-one-absurdity p q = refl Since pattern matching on datatypes in Prop is limited0 码力 | 311 页 | 1.38 MB | 1 年前3Agda User Manual v2.6.4.2
compatible with --safe. Absurd clauses do not need any special handling (since the transport of an absurdity is still absurd), so defini- tions which rely on Agda’s ability to automatically separate constructors This implies all applications of absurd are the same: only-one-absurdity : {A : Set} → (p q : ⊥) → absurd A p ≡ absurd A q only-one-absurdity p q = refl Since pattern matching on datatypes in Prop is limited0 码力 | 311 页 | 1.38 MB | 1 年前3Agda User Manual v2.6.4
compatible with --safe. Absurd clauses do not need any special handling (since the transport of an absurdity is still absurd), so defini- tions which rely on Agda’s ability to automatically separate constructors This implies all applications of absurd are the same: only-one-absurdity : {A : Set} → (p q : ⊥) → absurd A p ≡ absurd A q only-one-absurdity p q = refl Since pattern matching on datatypes in Prop is limited0 码力 | 313 页 | 1.38 MB | 1 年前3Agda User Manual v2.6.0.1
This implies all applications of absurd are the same: only-one-absurdity : {A : Set} → (p q : ⊥) → absurd A p ≡ absurd A q only-one-absurdity p q = refl Since pattern matching on datatypes in Prop is limited0 码力 | 256 页 | 247.15 KB | 1 年前3Agda User Manual v2.6.0
This implies all applications of absurd are the same: only-one-absurdity : {A : Set} → (p q : ⊥) → absurd A p ≡ absurd A q only-one-absurdity p q = refl Since pattern matching on datatypes in Prop is limited0 码力 | 256 页 | 246.87 KB | 1 年前3Agda User Manual v2.6.0
This implies all applications of absurd are the same: only-one-absurdity : {A : Set} → (p q : ⊥) → absurd A p ≡ absurd A q only-one-absurdity p q = refl Since pattern matching on datatypes in Prop is limited0 码力 | 191 页 | 857.07 KB | 1 年前3
共 35 条
- 1
- 2
- 3
- 4