;; -*-theme-d-*-

;; Copyright (C) 2017 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 test555)


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


  (define-simple-proc my-proc (((x <object>)) <none> nonpure)
    (console-display-line (is-instance? x <null>))
    (console-display-line (is-instance? x <symbol>))
    (console-display-line (is-instance? x <boolean>))
    (console-display-line (is-instance? x <real>))
    (console-display-line (is-instance? x <integer>))
    (console-display-line (is-instance? x <string>))
    (console-display-line (is-instance? x <character>))
    (console-newline))


  (define main
    (lambda (() <none> nonpure)
      (let ((l-values (list null 'abc #t 5.5 10 "def" #\a)))
	(for-each1 my-proc l-values)))))
