algebra.instances

Members list

Type members

Classlikes

Attributes

Source
array.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances

Attributes

Source
bigDecimal.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances

Attributes

Source
bigInt.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances

Attributes

Source
bitSet.scala
Supertypes
trait GenBool[BitSet]
trait Lattice[BitSet]
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Source
bitSet.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances

This commutative rig is different than the one obtained from GF(2).

This commutative rig is different than the one obtained from GF(2).

It uses || for plus, and && for times.

Attributes

Source
boolean.scala
Supertypes

Attributes

Source
boolean.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances

Attributes

Source
byte.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances

Attributes

Source
char.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances

Due to the way floating-point equality works, this instance is not lawful under equality, but is correct when taken as an approximation of an exact value.

Due to the way floating-point equality works, this instance is not lawful under equality, but is correct when taken as an approximation of an exact value.

If you would prefer an absolutely lawful fractional value, you'll need to investigate rational numbers or more exotic types.

Attributes

Source
double.scala
Supertypes

Attributes

Source
double.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances

Due to the way floating-point equality works, this instance is not lawful under equality, but is correct when taken as an approximation of an exact value.

Due to the way floating-point equality works, this instance is not lawful under equality, but is correct when taken as an approximation of an exact value.

If you would prefer an absolutely lawful fractional value, you'll need to investigate rational numbers or more exotic types.

Attributes

Source
float.scala
Supertypes

Attributes

Source
float.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances
trait IntInstances extends IntInstances

Attributes

Source
int.scala
Supertypes
trait IntInstances
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances

Attributes

Source
list.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances

Attributes

Source
long.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances
class MapAdditiveMonoid[K, V](implicit V: AdditiveSemigroup[V]) extends AdditiveMonoid[Map[K, V]]

Attributes

Source
map.scala
Supertypes
trait AdditiveMonoid[Map[K, V]]
trait AdditiveSemigroup[Map[K, V]]
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class MapSemiring[K, V]

Attributes

Source
map.scala
Supertypes
trait MapInstances
class Object
trait Matchable
class Any
Show all
Known subtypes
trait AllInstances

Attributes

Source
map.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
map.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
map.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
map.scala
Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes
class MapSemiring[K, V](implicit V: Semiring[V]) extends MapAdditiveMonoid[K, V], Semiring[Map[K, V]]

Attributes

Source
map.scala
Supertypes
trait Semiring[Map[K, V]]
class MapAdditiveMonoid[K, V]
trait AdditiveMonoid[Map[K, V]]
trait AdditiveSemigroup[Map[K, V]]
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Source
option.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances
class SetBoolRng[A] extends BoolRng[Set[A]]

Attributes

Source
set.scala
Supertypes
trait BoolRng[Set[A]]
trait CommutativeRng[Set[A]]
trait Rng[Set[A]]
trait AdditiveGroup[Set[A]]
trait Semiring[Set[A]]
trait AdditiveMonoid[Set[A]]
trait Serializable
class Object
trait Matchable
class Any
Show all
trait SetInstances extends SetInstances

Attributes

Source
set.scala
Supertypes
trait SetInstances
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances
class SetLattice[A] extends GenBool[Set[A]]

Attributes

Source
set.scala
Supertypes
trait GenBool[Set[A]]
trait Lattice[Set[A]]
trait MeetSemilattice[Set[A]]
trait JoinSemilattice[Set[A]]
trait Serializable
class Object
trait Matchable
class Any
Show all
class SetSemiring[A] extends Semiring[Set[A]]

Attributes

Source
set.scala
Supertypes
trait Semiring[Set[A]]
trait AdditiveMonoid[Set[A]]
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Source
short.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances
object StaticMethods

Attributes

Source
StaticMethods.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
string.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances

Attributes

Source
TupleAlgebra.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances

Attributes

Source
unit.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AllInstances