;; -*-theme-d-*-

;; Copyright (C) 2019  Tommi Höynälänmaa
;; Distributed under GNU General Public License version 3,
;; see file doc/GPL-3.

;; Expected results: translation and running OK

(define-proper-program (tests test746)

  (import (standard-library core)
	  (standard-library console-io))

  (define-simple-proc main (() <none> nonpure)
    (let ((l1 '(1 2 3 4 5))
	  (l2 '(abc def . rest))
	  (l3 '((1 . 2) "hello" "world")))
      (console-display-line l1)
      (console-write-line l1)
      (console-display-line l2)
      (console-write-line l2)
      (console-display-line l3)
      (console-write-line l3))))

