Source/Packages

Compiler.DependentCore

packages/compiler/src/Compiler/DependentCore.alpha

12,943 lines498 declarations489.0 KiBSHA-256 ef207b0de796

def · lines 961–980

resolveCorePrimitiveName

Full file
961def resolveCorePrimitiveName : (pi unrestricted name : Bytes . (family CoreResolutionResult)) =
962  (lambda unrestricted name : Bytes .
963    (eliminate
964      CorePrimitiveLookupResult
965      (lambda unrestricted result : (family CorePrimitiveLookupResult) .
966        (family CoreResolutionResult))
967      (lookupCorePrimitive name)
968      (branch
969        CorePrimitiveFound
970        primitive
971        .
972        (constructor
973          CoreResolutionResult
974          CoreResolved
975          (constructor CoreTerm CorePrimitiveTerm primitive)))
976      (branch
977        CorePrimitiveNotFound
978        missing
979        .
980        (constructor CoreResolutionResult CoreResolutionFailed missing))))

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.