[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why vectors?
- To: srfi-99@xxxxxxxxxxxxxxxxx
- Subject: Why vectors?
- From: Derick Eddington <derick.eddington@xxxxxxxxx>
- Date: Sun, 10 Aug 2008 22:39:49 -0700
- Delivered-to: srfi-99@xxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=kZyCq6qF4JanJZvBMERBU2+e71rl8qa6BgOUWBA4bJA=; b=boI3XkDgurn6J8VbcK+SyfCmP8/dLkmiVuxsJf0mt4tPJUgN9KDL1Vjc9yOuBrOrDF do+SP0uLF2kuvbQC4WfDBmQn8DL9ZAaSfXTX8H38m5w/CSvYnmsysZCyVnApLfrPD5im 4RiPqw/zHQYIgnP+G4fLt3BKF/1bDDQdHLHSo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=IHP6zwfywSwqSMF6tC23HkAq8s2ZCfpHbAbJnoMfreIBOxSc4Oec0acoVSbCjRuMHk rKpwQSzKcWXIPN5tVvEWuUuVSUInHKS+ckna3yhaPBB19NuEU+hMrcycY/T2tGFdW7y9 fVrAQBRlmXss7pO23+OvM+83KHob2ws2CNrcQ=
Why are vectors and not lists used for make-rtd's and rtd-constructor's
fieldspecs arguments and for rtd-field-names's and rtd-all-field-names's
return values? Is the only reason to follow R6RS's use of vectors? If
so, I request lists be used instead because they're easier to deal with,
as shown by how much list<->vector conversion is done in the ERR5RS
reference implementation itself. Using lists instead would increase the
appeal of this SRFI to me, and I think to others also. IMO,
interoperating with the R6RS records procedures that deal in vectors
without having to convert list<->vector is not a good enough reason
compared to the benefit of using lists with one's primary record system
of use, because interoperating at the procedural level where these
vectors matter will be rare (I imagine). Or is there a good reason to
use vectors?
Thanks,
--
: Derick
----------------------------------------------------------------