Welcome to the CHICKEN Scheme pasting service

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)

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the one-argument procedure to check if a list is empty?
Visually impaired? Let me spell it for you (wav file) download WAV