Pure
scala.caps.Pure
A marker trait that declares that all inheriting classes are "pure" in the sense that their values retain no capabilities including capabilities needed to perform effects. This has formal meaning only under capture checking.
NOTE: If an upper bound is Pure, we check that an argument conforms to it only in sources where capture checking is enabled. For instance,
would give an error only under capture checking. Pure is also dropped in upper bounds if it forms part of an &-type, or is under a type lambda.
Attributes
- Source
- Pure.scala
- Graph
-
- Supertypes
-
class Any
- Known subtypes
-
class ofBooleanclass ofByteclass ofCharclass ofDoubleclass ofFloatclass ofIntclass ofLongclass ofShortclass ofUnitclass Rangeclass Exclusiveclass Inclusiveclass WrappedStringobject Nilobject Emptyclass SystemPropertiesclass ofBooleanclass ofByteclass ofCharclass ofDoubleclass ofFloatclass ofIntclass ofLongclass ofShortclass ofUnitclass StringBuilderclass DoubleAccumulatorclass IntAccumulatorclass LongAccumulatorobject ArraySeqobject ArraySeqobject UnrolledBufferobject SortedSetobject SortedSetobject SortedSetobject TreeSetobject PriorityQueueobject TreeSetobject HashSetobject LazyListIterableobject ListSetobject Setobject HashSetobject LinkedHashSetobject Iterableobject Iterableobject Setobject Iterableobject Setobject Iteratorobject LazyListobject Streamobject IndexedSeqobject LinearSeqobject Seqobject Bufferobject IndexedBufferobject IndexedSeqobject Seqobject IndexedSeqobject LinearSeqobject Seqobject Listobject Queueobject Vectorobject ArrayBufferobject ArrayDequeobject ListBufferobject Queueobject Stackobject AnyAccumulatorobject Viewclass BitSetclass BitSet1class BitSet2class BitSetNclass BitSettrait BitSetobject DeadlineIsOrderedobject DurationIsOrderedobject FiniteDurationIsOrderedtrait BigDecimalIsFractionalobject BigDecimalIsFractionaltrait DoubleIsFractionalobject DoubleIsFractionaltrait FloatIsFractionalobject FloatIsFractionaltrait BigDecimalAsIfIntegralobject BigDecimalAsIfIntegraltrait BigIntIsIntegralobject BigIntIsIntegraltrait ByteIsIntegralobject ByteIsIntegraltrait CharIsIntegralobject CharIsIntegraltrait IntIsIntegralobject IntIsIntegraltrait LongIsIntegralobject LongIsIntegraltrait ShortIsIntegralobject ShortIsIntegraltrait BigDecimalIsConflictedtrait BigDecimalOrderingobject BigDecimaltrait BigIntOrderingobject BigInttrait BooleanOrderingobject Booleantrait ByteOrderingobject Byteobject Inttrait CharOrderingobject Chartrait IeeeOrderingobject IeeeOrderingtrait TotalOrderingobject DeprecatedDoubleOrderingobject TotalOrderingtrait IeeeOrderingobject IeeeOrderingtrait TotalOrderingobject DeprecatedFloatOrderingobject TotalOrderingtrait IntOrderingtrait LongOrderingobject Longtrait ShortOrderingobject Shorttrait StringOrderingobject Stringtrait SymbolOrderingobject Symboltrait UnitOrderingobject Unitclass Enumerationobject RoundingMode
- Self type
In this article