One thing left out of this discussion is that there are ByteStrings. I appreciate that! So there really is no need for a separate String type that isn't a list. I still think it would be nice to have a Char type though, hopefully Unicode. Lists of Chars would be nice to work with.
Most uses of strings, though, don't involve iterating over them. I think it would work well to optimize for the common use case. On Tue, Jan 11, 2011 at 5:11 AM, Peter Van Roy <[email protected]>wrote: > On 09/01/2011 21:56, David-Sarah Hopwood wrote: > >> I strongly recommend to designers of new languages, including languages >> with >> the same simplicity and orthogonality goals as Oz, that they distinguish >> strings and lists. >> >> Yes, I agree. If one day we redesign the type system of Oz, this is one > of the points we will take into account. > > > Peter > > > > > _________________________________________________________________________________ > mozart-users mailing list > [email protected] > http://www.mozart-oz.org/mailman/listinfo/mozart-users >
_________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
