Paste: "runtime" printf

Author: mrjbq7
Mode: factor
Date: Tue, 14 May 2013 16:14:57
Plain Text |
: runtime-printf ( seq format-string -- )
    parse-printf reverse!
    [ first dup string? [ '[ _ write ] ] [ '[ unclip-slice @ write ] ] if ] map
    compose-all call( x -- x ) drop ;

New Annotation

Summary:
Author:
Mode:
Body: