define-type for nullary function added by gahr on Thu Sep 21 10:28:06 2023

(import (chicken type))

(: nullary1 (--> string))
(define (nullary1) "foo")

(: nullary2 (procedure () string))
(define (nullary2) "bar")

(display (nullary1))
(display (nullary2))
(newline)