From: Daniel DeLorme Date: 2009-08-20T12:19:55+09:00 Subject: Re: Bizarre Range behavior Yukihiro Matsumoto wrote: > Indeed. The issue is that it's not easily distinguishable whether > a sequence using #succ from a string reaches to another, or not. > If there's affordable scheme to implement, I'd love to check in. My original reaction to this was that the succ rules may be complicated but they are deterministic, so it should be possible to create an algorithm that tells you if one string is "reachable" from another without actually stepping through all succ values. But the more I look into this the more I realize how complicated the succ rules are. A character's succ is determined not only by that character but also by the *other* characters in the string: >> "a-".succ => "b-" >> "--".succ => "-." @_@ -- Daniel