drscheme:eval:expand-program/multiple in DrScheme Tools Functions
(drscheme:eval:expand-program/multiple-> ((union port? drscheme:language:text/pos?) ((union eof-object? syntax? (cons/c string? any/c)) (-> any) . -> . any) boolean? . -> . void?)language-settingseval-compile-time-part?initkill-termination)
language-settings: drscheme:language-configuration:language-settings?
eval-compile-time-part?: boolean?
init: (-> void?)
kill-termination: (-> void?)This function is just like
drscheme:eval:expand-programexcept that it is curried and the second application can be used multiple times. Use this function if you want to initialize the user's thread (and namespace, etc) once but have program text that comes from multiple sources.The extra boolean argument to the result function determines if
front-end/complete-programorfront-end/interactionis called.