on dbc1956 help sign in
streamly/src/Streamly/String.hs
28 lines 796 B history raw
1-- |
2-- Module : Streamly.String
3-- Copyright : (c) 2018 Composewell Technologies
4--
5-- License : BSD3
6-- Maintainer : harendra.kumar@gmail.com
7-- Stability : experimental
8-- Portability : GHC
9--
10-- The 'String' type in this module is just a synonym for the type @List Char@.
11-- It provides better performance compared to the standard Haskell @String@
12-- type and can be used almost as a drop-in replacement, especially when used
13-- with @OverloadedStrings@ extension, with little differences.
14--
15-- See "Streamly.List", <src/docs/streamly-vs-lists.md> for more details and
16-- <src/test/PureStreams.hs> for comprehensive usage examples.
17--
18--
19module Streamly.String
20 (
21 String
22 )
23where
25import Streamly.List (List)
26import Prelude hiding (String)
28type String = List Char