Handbook
Glossary
@first-char-no-radix ( i number-parse n char -- n/f )
Vocabulary
math
.
parser
.
private
Inputs
i
an
object
number-parse
an
object
n
an
object
char
an
object
Outputs
n/f
an
object
Definition
USING:
combinators
;
IN:
math.parser.private
:
@first-char-no-radix
( i number-parse n char -- n/f )
{
{
45
[
[
@neg-first-digit-no-radix
]
require-next-digit
?neg
]
}
{
43
[
[
@pos-first-digit-no-radix
]
require-next-digit
?pos
]
}
[
@pos-first-digit-no-radix
?pos
]
}
case
;
inline