- Companion
- object
Type members
Inherited classlikes
Value members
Inherited methods
Requires explicit usage as the use of Await.result
. Can throw an exception, which is inherently bad.
Requires explicit usage as the use of Await.result
. Can throw an exception, which is inherently bad.
- Inherited from
- FutureInstances
Grab a value out of SortedMap if it's present. Otherwise evaluate a value to be placed at that key in the SortedMap.
Grab a value out of SortedMap if it's present. Otherwise evaluate a value to be placed at that key in the SortedMap.
- Inherited from
- SortedMapFunctions
Grab a value out of Map if it's present. Otherwise evaluate a value to be placed at that key in the Map.
Grab a value out of Map if it's present. Otherwise evaluate a value to be placed at that key in the Map.
- Inherited from
- MapFunctions
As with SortedMap.updated
, but resolve a collision with f
. The
first argument is guaranteed to be from m1
.
As with SortedMap.updated
, but resolve a collision with f
. The
first argument is guaranteed to be from m1
.
- Inherited from
- SortedMapFunctions
As with Map.updated
, but resolve a collision with f
. The
first argument is guaranteed to be from m1
.
As with Map.updated
, but resolve a collision with f
. The
first argument is guaranteed to be from m1
.
- Inherited from
- MapFunctions
Collect only elements with matching keys, joining their
associated values with f
.
Collect only elements with matching keys, joining their
associated values with f
.
- Inherited from
- SortedMapFunctions
Collect only elements with matching keys, joining their
associated values with f
.
Collect only elements with matching keys, joining their
associated values with f
.
- Inherited from
- MapFunctions
Like intersectWith
, but tell f
about the key.
Like intersectWith
, but tell f
about the key.
- Inherited from
- SortedMapFunctions
Like intersectWith
, but tell f
about the key.
Like intersectWith
, but tell f
about the key.
- Inherited from
- MapFunctions
Exchange keys of m
according to f
. Result may be smaller if
f
maps two or more K
s to the same K2
, in which case the
resulting associated value is an arbitrary choice.
Exchange keys of m
according to f
. Result may be smaller if
f
maps two or more K
s to the same K2
, in which case the
resulting associated value is an arbitrary choice.
- Inherited from
- SortedMapFunctions
Exchange keys of m
according to f
. Result may be smaller if
f
maps two or more K
s to the same K2
, in which case the
resulting associated value is an arbitrary choice.
Exchange keys of m
according to f
. Result may be smaller if
f
maps two or more K
s to the same K2
, in which case the
resulting associated value is an arbitrary choice.
- Inherited from
- MapFunctions
Union, resolving collisions with f
, where the first arg is
guaranteed to be from m1
, the second from m2
.
Union, resolving collisions with f
, where the first arg is
guaranteed to be from m1
, the second from m2
.
- Note
iff
f
gives rise to a scalaz.Semigroup, so doesunionWith(_, _)(f)
.- Inherited from
- SortedMapFunctions
Union, resolving collisions with f
, where the first arg is
guaranteed to be from m1
, the second from m2
.
Union, resolving collisions with f
, where the first arg is
guaranteed to be from m1
, the second from m2
.
- Note
iff
f
gives rise to a scalaz.Semigroup, so doesunionWith(_, _)(f)
.- Inherited from
- MapFunctions
Like unionWith
, but telling f
about the key.
Like unionWith
, but telling f
about the key.
- Inherited from
- SortedMapFunctions
Like unionWith
, but telling f
about the key.
Like unionWith
, but telling f
about the key.
- Inherited from
- MapFunctions
Inherited fields
Implicits
Inherited implicits
- Inherited from
- BigInts
- Inherited from
- BigIntegerInstances
- Inherited from
- AnyValInstances
- Inherited from
- AnyValInstances
Right biased monad
Right biased monad
- Inherited from
- EitherInstances
- Inherited from
- FunctionInstances
- Inherited from
- FunctionInstances
- Inherited from
- FunctionInstances0
- Inherited from
- FunctionInstances
- Inherited from
- FunctionInstances
- Inherited from
- FunctionInstances
- Inherited from
- FunctionInstances
- Inherited from
- FunctionInstances
- Inherited from
- FunctionInstances
- Inherited from
- FutureInstances1
An alternative scalaz.Applicative instance for LazyList
, discriminated by the type tag scalaz.Tags.Zip,
that zips lazylists together.
An alternative scalaz.Applicative instance for LazyList
, discriminated by the type tag scalaz.Tags.Zip,
that zips lazylists together.
Example:
import scalaz.Tags.Zip
lazylistZipApplicative.apply2(Zip(LazyList(1, 2)), Zip(LazyList(3, 4)))(_ * _) // LazyList(3, 8)
- Inherited from
- LazyListInstances
Covariant over the value parameter, where plus
applies the
Last
semigroup to values.
Covariant over the value parameter, where plus
applies the
Last
semigroup to values.
- Inherited from
- MapInstances
Map union monoid, unifying values with V
's append
.
Map union monoid, unifying values with V
's append
.
- Inherited from
- MapInstances
Add None
as an element less than all A
s.
Add None
as an element less than all A
s.
- Inherited from
- OptionInstances
- Inherited from
- PartialFunctionInstances
We could derive set equality from Equal[A]
, but it would be O(n^2)
.
Instead, we require Order[A]
, reducing the complexity to O(log n)
We could derive set equality from Equal[A]
, but it would be O(n^2)
.
Instead, we require Order[A]
, reducing the complexity to O(log n)
If Equal[A].equalIsNatural == true
, than Any#==
is used.
- Inherited from
- SetInstances
Covariant over the value parameter, where plus
applies the
Last
semigroup to values.
Covariant over the value parameter, where plus
applies the
Last
semigroup to values.
- Inherited from
- SortedMapInstances
SortedMap union monoid, unifying values with V
's append
.
SortedMap union monoid, unifying values with V
's append
.
- Inherited from
- SortedMapInstances
An alternative scalaz.Applicative instance for Stream
, discriminated by the type tag scalaz.Tags.Zip,
that zips streams together.
An alternative scalaz.Applicative instance for Stream
, discriminated by the type tag scalaz.Tags.Zip,
that zips streams together.
Example:
import scalaz.Tags.Zip
streamZipApplicative.apply2(Zip(Stream(1, 2)), Zip(Stream(3, 4)))(_ * _) // Stream(3, 8)
- Inherited from
- StreamInstances
Tuple1[A]
is isomorphic to Id[X]
Tuple1[A]
is isomorphic to Id[X]
- Inherited from
- TupleInstances2
- Inherited from
- TupleInstances3
- Inherited from
- TupleInstances2
- Inherited from
- TupleInstances1
- Inherited from
- TupleInstances3
- Inherited from
- TupleInstances3
- Inherited from
- TupleInstances0
- Inherited from
- TupleInstances2
- Inherited from
- TupleInstances3
- Inherited from
- TupleInstances3
- Inherited from
- TupleInstances3
- Inherited from
- TupleInstances3
- Inherited from
- TupleInstances3
- Inherited from
- TupleInstances3