S
Size: a a a
S
DB
S
DB
DB
import { Either, left, right } from 'fp-ts/lib/Either'
function parse(input: string): Either<Error, number> {
const n = parseInt(input, 10)
return isNaN(n) ? left(new Error('not a number')) : right(n)
}
YK
S
S
import { Either, left, right } from 'fp-ts/lib/Either'
function parse(input: string): Either<Error, number> {
const n = parseInt(input, 10)
return isNaN(n) ? left(new Error('not a number')) : right(n)
}
L
L
DB
S
L
L
PP
V٩
JL
АK