Source/Packages

Compiler.DependentCore

packages/compiler/src/Compiler/DependentCore.alpha

12,943 lines498 declarations489.0 KiBSHA-256 ef207b0de796

def · lines 12367–12383

inferCoreArithmeticInspection

Full file
12367def inferCoreArithmeticInspection =
12368  (lambda unrestricted inspection : (family CoreArithmeticInspection) .
12369    (eliminate
12370      CoreArithmeticInspection
12371      (lambda unrestricted current : (family CoreArithmeticInspection) .
12372        (family CoreInferenceResult))
12373      inspection
12374      (branch CoreArithmeticValue digits . (inferCoreNaturalMagnitude digits))
12375      (branch
12376        CoreArithmeticNeutral
12377        .
12378        (constructor CoreInferenceResult CoreInferred (constructor CoreTerm CoreNatural)))
12379      (branch
12380        CoreArithmeticRejected
12381        failure
12382        .
12383        (constructor CoreInferenceResult CoreInferenceFailed coreNaturalMagnitudeFailureCode))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.