Welcome to the CHICKEN Scheme pasting service

split-string : unboun variable added by verzit on Fri Oct 7 11:40:03 2022

(import (chicken io) ; for read-lines
        (chicken string)) ; for split-string

(define (file->lines filename)
  (with-input-from-file filename read-lines))

(define strdata (file->lines "file.txt"))

(split-string "toto:titi" ":")

;; as a result IĀ get this error
; loading afinn-165.scm ...
; loading /var/lib//chicken/11/chicken.io.import.so ...
; loading /var/lib//chicken/11/chicken.string.import.so ...

; Error: unbound variable: split-string

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What does `(string? 42)' produce?
Visually impaired? Let me spell it for you (wav file) download WAV