Go to the first, previous, next, last section, table of contents.


useValue

Function: useValue { event value -> }
file: 01-C-event.t
package: muf
status: alpha

The useValue function invokes the most recent useValue restart, which normally results in continuation of the computation that was just interrupted with given value substituted for that originally obtained (but without modifying the corresponding variable, if any).

NOTE: This function is included because it is specified by the CommonLisp standard. Muq does not currently ever establish an useValue restart, hence this function is of little if any use at the moment.

The useValue function is currently implemented as:

: useValue { $ $ -> } -> value -> event

    'useValue event findRestart -> restart
    restart if [ value | restart ]invokeRestart fi
;


Go to the first, previous, next, last section, table of contents.