Changes between Version 10 and Version 11 of Language/VersusHaskell
- Timestamp:
- 06/17/10 04:07:07 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Language/VersusHaskell
v10 v11 32 32 33 33 === Death to [Char] === 34 In the Disciple prelude, strings are defined as append-lists of bytestrings. This provides sane complexities to the common operations of constructing and printing strings, with respect to the regular Haskell ones. For this reason you need to use the string append operator `(%)` to append lists, instead of the list append operator `(++)`. If you really want a list of characters then use `charListOfString :: String -> [Char]` defined in `Data.List`.34 In the Disciple prelude, strings are defined as append-lists of arrays of characters. This provides sane complexities to the common operations of constructing and printing strings, with respect to the regular Haskell ones. For this reason you need to use the string append operator `(%)` to append lists, instead of the list append operator `(++)`. If you really want a list of characters then use `charListOfString :: String -> [Char]` defined in `Data.List`. 35 35 36 36 === No Dictionary Passing ===
