Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Args<T>

Argument continuation

An ordered n-tuple of 0-or-more arbitrary values entangled together in order to evaluate functions: application constructs and pushes these onto the current continuation, while abstraction pops them off and binds them to names.

example
(reset ((shift k k) 1 #f))
example
{
"k": {
"_args": [
{
"v": 1
},
{
"v": false
}
],
"_k": {}
}
}
remarks

This is the constructor for the categorical tensor product.

see

Kont

see

Value

internal

Type parameters

  • T

    The underlying TypeScript types which we wrap in our language.

Hierarchy

  • Args

Index

Constructors

Properties

Constructors

constructor

  • Type parameters

    • T

    Parameters

    • _args: Value<T>[]

      Array of values to push on the stack simultaneously.

    • _k: Kont<T>

      The next continuation.

    Returns Args<T>

Properties

Readonly _args

_args: Value<T>[]

Readonly _k

_k: Kont<T>

Generated using TypeDoc