screening-core
screening-core
io.hireproof.screening
Actual
Actual
Constraint
Constraint
Delta
Delta
Identifier
Identifier
Or
Value
collection
duration
number
optional
text
time
Error
Error
BrokenConstraint
Conflict
Invalid
Missing
Unknown
Reference
Reference
RichValidatedNel
Selection
Selection
Field
History
History
Index
Validation
Validation
CatchOnlyBuilder
Ops
Violations
Violations
validations
duration
foldable
iterable
list
number
optional
parsing
CatchOnlyBuilder
seq
seq
set
text
time
traversable
vector
screening-core
/
io.hireproof.screening
/
Validation
Validation
object
Validation
Companion:
class
Graph
Supertypes
Self type
class
Object
trait
Matchable
class
Any
Validation
.type
Type members
Value members
Implicits
Type members
Classlikes
final
class
CatchOnlyBuilder
[
T
>:
Null
<:
Throwable
]
final implicit implicit
class
Ops
[
I
,
O
](
val
validation:
Validation
[
I
,
O
])
extends
AnyVal
Value members
Concrete methods
def
ask
[
A
]:
Validation
[
A
,
A
]
def
catchOnly
[
T
>:
Null
<:
Throwable
]:
CatchOnlyBuilder
[
T
]
def
cond
[
I
](
constraints:
NonEmptyList
[
Constraint
])(
f:
I
=>
Boolean
):
Validation
[
I
,
Unit
]
def
condNel
[
I
](
constraint:
Constraint
)(
f:
I
=>
Boolean
):
Validation
[
I
,
Unit
]
def
fromOption
[
I
,
O
](
constraints:
NonEmptyList
[
Constraint
])(
f:
I
=>
Option
[
O
]):
Validation
[
I
,
O
]
def
fromOptionNel
[
I
,
O
](
constraint:
Constraint
)(
f:
I
=>
Option
[
O
]):
Validation
[
I
,
O
]
def
invalid
(
errors:
NonEmptyList
[
Error
]):
Validation
[
Any
,
Unit
]
def
invalidNel
(
error:
Error
):
Validation
[
Any
,
Unit
]
def
lift
[
A
,
B
](
f:
A
=>
B
):
Validation
[
A
,
B
]
def
valid
[
O
](
value:
=>
O
):
Validation
[
Any
,
O
]
Implicits
Implicits
final implicit
def
Ops
[
I
,
O
](
validation:
Validation
[
I
,
O
]):
Ops
[
I
,
O
]
implicit
def
applicative
[
I
]:
Applicative
[[
_
]
=>>
Validation
[
I
,
_$12
]]
implicit
val
arrow
:
Arrow
[
Validation
]