Re: CAPS again

From: [at]} <Bob>
Date: Thu, 16 Sep 2004 14:20:53 +0100

----boundary-LibPST-iamunique-1689490346_-_-
Content-type: text/plain

Hi,

> The idea of "Pascal-like languages" is: Don't do at runtime, what
> you can already do at compile-time. Type-safety-checks can ALWAYS be
> done at runtime.

you are quite right - I was too loose with my language. What I really
mean is that the specification of CAP should not lead to an undefined
result, because it forces the programmer to include run-time checks of
the input. So the efficiency of the CAP implementation is buried under
the inefficiency of the range checks.

Every possible CHAR maps to an upper case equivalent, even if it is a
map back to itself. So, a->A, b->B, space->space, {([at]})nowhere.xy
reason why this should not be so, and no reason why it should be inefficient
to implement.

-- 
Regards,
 Bob
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xyTo get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xyCurrent posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-1689490346_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGF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oZWFkLlxwYXINClxwYXINCmIpIElmLCBmb3Igc29tZSByZWFzb24sIHlvdSBjYW5ub3Qg
cG9zdCBmcm9tIHRoZSBhZGRyZXNzLCBieSB3aGljaCB5b3UgYXJlIHN1YnNjcmliZWQsIHlvdXIg
bWVzc2FnZSB3aWxsIGJlIG1vZGVyYXRlZCB0byBhdm9pZCBzcGFtLiBQbGVhc2UgdW5kZXJzdGFu
ZCB0aGF0IG1vZGVyYXRpb24gd2lsbCBvZnRlbiBjYXVzZSBzb21lIGRlbGF5LCBpbiBwYXJ0aWN1
bGFyIG92ZXIgd2Vla2VuZHMgb3IgaG9seWRheX19AHZpcnVzdw==
----boundary-LibPST-iamunique-1689490346_-_---
Received on Thu Sep 16 2004 - 15:20:53 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:36 UTC