Hex Artifact Content
Not logged in

Artifact bafaba4ac79edbdea160c2dcea9e0b007c8c6bef:


0000: 3b 3b 20 43 6f 70 79 72 69 67 68 74 20 28 63 29  ;; Copyright (c)
0010: 20 32 30 30 39 20 48 69 67 65 70 6f 6e 28 54 61   2009 Higepon(Ta
0020: 72 6f 20 4d 69 6e 6f 77 61 29 0a 3b 3b 0a 3b 3b  ro Minowa).;;.;;
0030: 20 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 20 68   Permission is h
0040: 65 72 65 62 79 20 67 72 61 6e 74 65 64 2c 20 66  ereby granted, f
0050: 72 65 65 20 6f 66 20 63 68 61 72 67 65 2c 20 74  ree of charge, t
0060: 6f 20 61 6e 79 20 70 65 72 73 6f 6e 20 6f 62 74  o any person obt
0070: 61 69 6e 69 6e 67 20 61 0a 3b 3b 20 63 6f 70 79  aining a.;; copy
0080: 20 6f 66 20 74 68 69 73 20 73 6f 66 74 77 61 72   of this softwar
0090: 65 20 61 6e 64 20 61 73 73 6f 63 69 61 74 65 64  e and associated
00a0: 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 66   documentation f
00b0: 69 6c 65 73 20 28 74 68 65 20 22 53 6f 66 74 77  iles (the "Softw
00c0: 61 72 65 22 29 2c 0a 3b 3b 20 74 6f 20 64 65 61  are"),.;; to dea
00d0: 6c 20 69 6e 20 74 68 65 20 53 6f 66 74 77 61 72  l in the Softwar
00e0: 65 20 77 69 74 68 6f 75 74 20 72 65 73 74 72 69  e without restri
00f0: 63 74 69 6f 6e 2c 20 69 6e 63 6c 75 64 69 6e 67  ction, including
0100: 20 77 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 74   without limitat
0110: 69 6f 6e 0a 3b 3b 20 74 68 65 20 72 69 67 68 74  ion.;; the right
0120: 73 20 74 6f 20 75 73 65 2c 20 63 6f 70 79 2c 20  s to use, copy, 
0130: 6d 6f 64 69 66 79 2c 20 6d 65 72 67 65 2c 20 70  modify, merge, p
0140: 75 62 6c 69 73 68 2c 20 64 69 73 74 72 69 62 75  ublish, distribu
0150: 74 65 2c 20 73 75 62 6c 69 63 65 6e 73 65 2c 0a  te, sublicense,.
0160: 3b 3b 20 61 6e 64 2f 6f 72 20 73 65 6c 6c 20 63  ;; and/or sell c
0170: 6f 70 69 65 73 20 6f 66 20 74 68 65 20 53 6f 66  opies of the Sof
0180: 74 77 61 72 65 2c 20 61 6e 64 20 74 6f 20 70 65  tware, and to pe
0190: 72 6d 69 74 20 70 65 72 73 6f 6e 73 20 74 6f 20  rmit persons to 
01a0: 77 68 6f 6d 20 74 68 65 0a 3b 3b 20 53 6f 66 74  whom the.;; Soft
01b0: 77 61 72 65 20 69 73 20 66 75 72 6e 69 73 68 65  ware is furnishe
01c0: 64 20 74 6f 20 64 6f 20 73 6f 2c 20 73 75 62 6a  d to do so, subj
01d0: 65 63 74 20 74 6f 20 74 68 65 20 66 6f 6c 6c 6f  ect to the follo
01e0: 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e 73 3a  wing conditions:
01f0: 0a 3b 3b 0a 3b 3b 20 54 68 65 20 61 62 6f 76 65  .;;.;; The above
0200: 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63   copyright notic
0210: 65 20 61 6e 64 20 74 68 69 73 20 70 65 72 6d 69  e and this permi
0220: 73 73 69 6f 6e 20 6e 6f 74 69 63 65 20 73 68 61  ssion notice sha
0230: 6c 6c 20 62 65 20 69 6e 63 6c 75 64 65 64 20 69  ll be included i
0240: 6e 0a 3b 3b 20 61 6c 6c 20 63 6f 70 69 65 73 20  n.;; all copies 
0250: 6f 72 20 73 75 62 73 74 61 6e 74 69 61 6c 20 70  or substantial p
0260: 6f 72 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 53  ortions of the S
0270: 6f 66 74 77 61 72 65 2e 0a 3b 3b 0a 3b 3b 20 45  oftware..;;.;; E
0280: 78 63 65 70 74 20 61 73 20 63 6f 6e 74 61 69 6e  xcept as contain
0290: 65 64 20 69 6e 20 74 68 69 73 20 6e 6f 74 69 63  ed in this notic
02a0: 65 2c 20 74 68 65 20 6e 61 6d 65 28 73 29 20 6f  e, the name(s) o
02b0: 66 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79  f the above copy
02c0: 72 69 67 68 74 0a 3b 3b 20 68 6f 6c 64 65 72 73  right.;; holders
02d0: 20 73 68 61 6c 6c 20 6e 6f 74 20 62 65 20 75 73   shall not be us
02e0: 65 64 20 69 6e 20 61 64 76 65 72 74 69 73 69 6e  ed in advertisin
02f0: 67 20 6f 72 20 6f 74 68 65 72 77 69 73 65 20 74  g or otherwise t
0300: 6f 20 70 72 6f 6d 6f 74 65 20 74 68 65 20 73 61  o promote the sa
0310: 6c 65 2c 0a 3b 3b 20 75 73 65 20 6f 72 20 6f 74  le,.;; use or ot
0320: 68 65 72 20 64 65 61 6c 69 6e 67 73 20 69 6e 20  her dealings in 
0330: 74 68 69 73 20 53 6f 66 74 77 61 72 65 20 77 69  this Software wi
0340: 74 68 6f 75 74 20 70 72 69 6f 72 20 77 72 69 74  thout prior writ
0350: 74 65 6e 20 61 75 74 68 6f 72 69 7a 61 74 69 6f  ten authorizatio
0360: 6e 2e 0a 3b 3b 0a 3b 3b 20 54 48 45 20 53 4f 46  n..;;.;; THE SOF
0370: 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45  TWARE IS PROVIDE
0380: 44 20 22 41 53 20 49 53 22 2c 20 57 49 54 48 4f  D "AS IS", WITHO
0390: 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41  UT WARRANTY OF A
03a0: 4e 59 20 4b 49 4e 44 2c 20 45 58 50 52 45 53 53  NY KIND, EXPRESS
03b0: 20 4f 52 0a 3b 3b 20 49 4d 50 4c 49 45 44 2c 20   OR.;; IMPLIED, 
03c0: 49 4e 43 4c 55 44 49 4e 47 20 42 55 54 20 4e 4f  INCLUDING BUT NO
03d0: 54 20 4c 49 4d 49 54 45 44 20 54 4f 20 54 48 45  T LIMITED TO THE
03e0: 20 57 41 52 52 41 4e 54 49 45 53 20 4f 46 20 4d   WARRANTIES OF M
03f0: 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 2c 0a  ERCHANTABILITY,.
0400: 3b 3b 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41  ;; FITNESS FOR A
0410: 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50   PARTICULAR PURP
0420: 4f 53 45 20 41 4e 44 20 4e 4f 4e 49 4e 46 52 49  OSE AND NONINFRI
0430: 4e 47 45 4d 45 4e 54 2e 20 20 49 4e 20 4e 4f 20  NGEMENT.  IN NO 
0440: 45 56 45 4e 54 20 53 48 41 4c 4c 0a 3b 3b 20 54  EVENT SHALL.;; T
0450: 48 45 20 41 55 54 48 4f 52 53 20 4f 52 20 43 4f  HE AUTHORS OR CO
0460: 50 59 52 49 47 48 54 20 48 4f 4c 44 45 52 53 20  PYRIGHT HOLDERS 
0470: 42 45 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e  BE LIABLE FOR AN
0480: 59 20 43 4c 41 49 4d 2c 20 44 41 4d 41 47 45 53  Y CLAIM, DAMAGES
0490: 20 4f 52 20 4f 54 48 45 52 0a 3b 3b 20 4c 49 41   OR OTHER.;; LIA
04a0: 42 49 4c 49 54 59 2c 20 57 48 45 54 48 45 52 20  BILITY, WHETHER 
04b0: 49 4e 20 41 4e 20 41 43 54 49 4f 4e 20 4f 46 20  IN AN ACTION OF 
04c0: 43 4f 4e 54 52 41 43 54 2c 20 54 4f 52 54 20 4f  CONTRACT, TORT O
04d0: 52 20 4f 54 48 45 52 57 49 53 45 2c 20 41 52 49  R OTHERWISE, ARI
04e0: 53 49 4e 47 0a 3b 3b 20 46 52 4f 4d 2c 20 4f 55  SING.;; FROM, OU
04f0: 54 20 4f 46 20 4f 52 20 49 4e 20 43 4f 4e 4e 45  T OF OR IN CONNE
0500: 43 54 49 4f 4e 20 57 49 54 48 20 54 48 45 20 53  CTION WITH THE S
0510: 4f 46 54 57 41 52 45 20 4f 52 20 54 48 45 20 55  OFTWARE OR THE U
0520: 53 45 20 4f 52 20 4f 54 48 45 52 0a 3b 3b 20 44  SE OR OTHER.;; D
0530: 45 41 4c 49 4e 47 53 20 49 4e 20 54 48 45 20 53  EALINGS IN THE S
0540: 4f 46 54 57 41 52 45 2e 0a 0a 23 21 72 36 72 73  OFTWARE...#!r6rs
0550: 0a 28 6c 69 62 72 61 72 79 20 28 73 72 66 69 20  .(library (srfi 
0560: 73 36 20 62 61 73 69 63 2d 73 74 72 69 6e 67 2d  s6 basic-string-
0570: 70 6f 72 74 73 20 63 6f 6d 70 61 74 29 0a 20 20  ports compat).  
0580: 28 65 78 70 6f 72 74 0a 20 20 20 67 65 74 2d 6f  (export.   get-o
0590: 75 74 70 75 74 2d 73 74 72 69 6e 67 0a 20 20 20  utput-string.   
05a0: 6f 70 65 6e 2d 6f 75 74 70 75 74 2d 73 74 72 69  open-output-stri
05b0: 6e 67 29 0a 20 20 28 69 6d 70 6f 72 74 0a 20 20  ng).  (import.  
05c0: 20 28 6f 6e 6c 79 20 28 73 79 73 74 65 6d 29 20   (only (system) 
05d0: 67 65 74 2d 6f 75 74 70 75 74 2d 73 74 72 69 6e  get-output-strin
05e0: 67 20 6f 70 65 6e 2d 6f 75 74 70 75 74 2d 73 74  g open-output-st
05f0: 72 69 6e 67 29 29 0a 29 0a                       ring)).).