Package

org.emmalanguage

util

Permalink

package util

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type <=>[A, B] = Iso[A, B]

    Permalink
  2. trait Default[A] extends AnyRef

    Permalink

    Type class for providing a default value for type A.

  3. trait DefaultLowPriority extends AnyRef

    Permalink

    Low priority Default instances.

  4. trait Iso[A, B] extends Serializable

    Permalink

    Type class proving an isomorphism between types A and B.

  5. class RanHash extends Serializable

    Permalink

    c.f.

    c.f. "Press, William H. Numerical recipes 3rd edition: The art of scientific computing. Cambridge university press, 2007.", pp. 352

Value Members

  1. object Default extends DefaultLowPriority

    Permalink

    Default instances.

  2. object Functions

    Permalink

    Utilities for scala.Functions.

  3. object Graphs

    Permalink

    Utilities for quiver.Graphs.

  4. object Iso extends Serializable

    Permalink

    Factory methods and instances of isomorphism.

  5. object Memo

    Permalink

    Memoizing different types of functions.

    Memoizing different types of functions.

    Calling a memoized function with a set of arguments for the first time will save the result in a cache - a mutable.Map, possibly user-provided. Calling it with the same set of arguments subsequently will not perform the computation, but retrieve the cached value instead.

    This is useful for computations that are expensive and are performed many times with the same arguments.

    However, functions need to be referentially transparent (i.e. have no side effects) to preserve correctness.

  6. object Monoids

    Permalink

    Missing instances of cats.Monoid.

  7. object RanHash extends Serializable

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped