The curried, stand-alone version of the skip.
run(skip2nd(spaces)(int))(" 123") // => Ok(Unit)run(int)(" 123") // => Err(...)
Note: that spaces returns Unit! Unit is defined as const Unit = false
spaces
Unit
const Unit = false
skip1st for a function that skips its first argument.
The curried, stand-alone version of the skip.
Note: that
spaces
returnsUnit
! Unit is defined asconst Unit = false
See
skip1st for a function that skips its first argument.