darcs patch: Find all methods, in order of decreasing... (and 2 more)

Tony Garnock-Jones tonyg at lshift.net
Wed Jun 7 13:11:26 PDT 2006


Wed Jun  7 21:00:55 BST 2006  Tony Garnock-Jones <tonyg at lshift.net>
  * Find all methods, in order of decreasing specificity, for a selector.

Wed Jun  7 21:07:30 BST 2006  Tony Garnock-Jones <tonyg at lshift.net>
  * Remove pun of #as: for encoding/decoding - needs a better codec framework

Wed Jun  7 21:07:47 BST 2006  Tony Garnock-Jones <tonyg at lshift.net>
  * Replace pun of #as: for ASCII-encoding with {en,de}codeASCII
  
  Using #as: to convert strings into byte-arrays and vice versa is
  problematic for two reasons:
  
  1. it defaults to ASCII encoding without allowing specification of the
  particular codec that should be used; and
  
  2. it inadvertently overrides (String as: Symbol), causing problems
  with non-interning.
  
  Removing the punning of #as: for String codecing and replacing it with
  a more precise API takes the first step along the road toward a proper
  codec framework, and also avoids the nasty side-effect preventing
  Symbol interning in some places where it's needed (e.g. CObject's
  parseDefinitionsFrom:into:).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 28656 bytes
Desc: A darcs patch for your repository!
Url : /archives/slate/attachments/20060607/e6fde723/attachment-0001.bin


More information about the Slate mailing list