Source/Packages

Compiler.IntegerLiteral

packages/compiler/src/Compiler/IntegerLiteral.alpha

903 lines95 declarations31.8 KiBSHA-256 578f5c4899f4

def · lines 411–421

integerLiteralDecodeDigit

Full file
411def integerLiteralDecodeDigit =
412  (lambda unrestricted radix : (family IntegerLiteralRadix) .
413    (lambda unrestricted value : Byte .
414      (eliminate
415        IntegerLiteralRadix
416        (lambda unrestricted current : (family IntegerLiteralRadix) .
417          (family IntegerLiteralDigitResult))
418        radix
419        (branch IntegerLiteralDecimal . (integerLiteralDecodeDecimal value))
420        (branch IntegerLiteralBinary . (integerLiteralDecodeBinary value))
421        (branch IntegerLiteralHexadecimal . (integerLiteralDecodeHex value)))))

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.