sdpc v0.1.0 (2017-03-23T22:36:17Z)
Dub
Repo
ParseResult.apply_err
sdpc
primitives
ParseResult
Transform
func
that takes a
E
into a function that takes a
ParseResult
struct
ParseResult
(R, T = void, E = ulong)
@
safe
@
trusted
static
auto
apply_err
(
alias
func
)
(
auto
ref
ParseResult
!(
R
,
T
,
E
)
i
)
if
(
is
(
typeof
(
func
(
i.e_
)))
)
if
(
isForwardRange
!
R
&&
!
is
(
E
:
R
)
&&
is
(
typeof
( ))
)
Meta
Source
See Implementation
sdpc
primitives
ParseResult
aliases
DataType
ErrType
constructors
this
functions
opCast
properties
cont
err
v
static functions
apply
apply_err
variables
ok
Transform func that takes a E into a function that takes a ParseResult