Constructors
Methods
add
- add<I, O, A>(shape, fn): this
Parameters
- shape: ((...args: A) => Shape<I, O>)
- fn: ((shape: Shape<I, O>, ...args: A) => R)
- (shape, ...args): R
Returns R
Returns this
- add<I, O>(shape, fn): this
Returns this
fallback
- fallback(fn): this
Returns this
generic
- generic(fn): this
Parameters
- fn: ((visitor: this) => void)
- (visitor): void
Returns void
Returns this
visit
- visit<I, O>(shape): R
Returns R