Packages

c

swam.runtime

Function

abstract class Function[F[_]] extends Interface[F, FuncType]

Functions must implement this interface to be used by Swam.

Source
Interface.scala
Linear Supertypes
Interface[F, FuncType], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Function
  2. Interface
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Function()

Abstract Value Members

  1. abstract def invoke(parameters: Vector[Value], m: Option[Memory[F]]): F[Vector[Value]]

    Invokes the function and returns its result.

    Invokes the function and returns its result.

    Implementations must not throw any exception but must encapsulate their effect and failure in an instance of F.

  2. abstract def tpe: FuncType

    Returns the type of this interface element.

    Returns the type of this interface element.

    Definition Classes
    Interface