Welcome to the CHICKEN Scheme pasting service

s11n large a-list end of input pasted by Vultyre on Fri Aug 21 23:20:11 2020

(import s11n)


(define x 5)
(call-with-output-file "testfile.s11n"
                       (lambda (output-port)
                         (serialize x output-port)))

(call-with-input-file "testfile.s11n" deserialize)


(define my-big-alist (procedure-that-generates-massive-alist))
(call-with-output-file "bigalist.s11n"
                       (lambda (output-port)
                         (serialize my-big-alist output-port)))

(call-with-input-file "bigalist.s11n" deserialize)

Outputs added by Vultyre on Fri Aug 21 23:23:39 2020

; First output
5

; Second output
Error: (deserialize) unexpected end of input: #<input port "bigalist.s11n">

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Name of the bot in #chicken:
Visually impaired? Let me spell it for you (wav file) download WAV