shithub: femtolisp

Download patch

ref: ba512ae01309f1ab20f138564df42f4b17cd5e23
parent: 2f6d0a48c2c77af6979142337a97f9fefa133c42
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Tue Dec 10 18:46:12 EST 2024

scheme alises: flush-output-port

--- a/aliases.scm
+++ b/aliases.scm
@@ -124,6 +124,8 @@
   (set! *input-stream* p))
 (define (current-output-port (p *output-stream*))
   (set! *output-stream* p))
+(define (flush-output-port (p *output-stream*))
+  (io-flush p))
 
 (define input-port-line io-line)