summaryrefslogtreecommitdiff
path: root/hello-test.scm
blob: 56c37d4e1d537872f4932000fc6a6b329eb91fcf (plain)
1
2
3
4
5
6
7
8
9
(use-modules (ice-9 rdelim))
(for-each (lambda (i)
            (write (with-input-from-file "/home/neil/google-neil.csv"; "hello.txt"
                     (lambda ()
                       (set-port-encoding! (current-input-port) "UTF16LE")
                       (read-line))))
            (newline))
          (iota 5))