Changeset 37590 in project


Ignore:
Timestamp:
05/08/19 10:51:58 (13 days ago)
Author:
syn
Message:

hyde: Improve CHICKEN 5 compatibility

Location:
release/4/hyde/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/hyde/trunk/hyde-cmd.scm

    r36891 r37590  
    44  (chicken-5
    55   (import (chicken process-context)
     6           (chicken port)
     7           (chicken format)
    68           hyde
    79           matchable)))
  • release/4/hyde/trunk/hyde.scm

    r37541 r37590  
    9595           (chicken pathname)
    9696           (chicken io)
     97           (chicken port)
    9798           (chicken module)
    9899           (srfi 1)
     
    263264
    264265  (print "creating hyde.scm")
    265   (with-output-to-file "hyde.scm" (cut write '(use hyde)))
     266  (with-output-to-file "hyde.scm"
     267    (cut write (cond-expand
     268                 (chicken-4
     269                  '(use hyde))
     270                 (chicken-5
     271                  '(import hyde)))))
    266272  (let ((default-layout (make-pathname (layouts-dir) (car (default-layouts)))))
    267273    (print "creating " default-layout)
Note: See TracChangeset for help on using the changeset viewer.