How can an Oz program tell the difference between a value which is of type List and one which is a non-list such as simple scalar value 1
or string 'Hello'
? (Like Haskell, does Oz treat a string as a list of characters?)
How can an Oz program tell the difference between a value which is of type List and one which is a non-list such as simple scalar value 1 or string 'Hello'?
(Like Haskell, does Oz treat a string as a list of characters?)
That's explained on the page you linked:
Further notational variant is allowed for lists whose elements correspond to character codes. Lists written in this notation are called strings
See also