1{-# LANGUAGE CPP, DeriveDataTypeable #-}
4-- Module : Data.Text.Internal.Functions
5-- Copyright : 2010 Bryan O'Sullivan
8-- Maintainer : bos@serpentine.com
9-- Stability : experimental
12-- /Warning/: this is an internal module, and does not have a stable
13-- API or name. Functions in this module may not check or enforce
14-- preconditions expected by public modules. Use at your own risk!
18module Data.Text.Internal.Functions
23-- | A lazier version of Data.List.intersperse. The other version
25intersperse :: a -> [a] -> [a]
27intersperse sep (x:xs) = x : go xs
30 go (y:ys) = sep : y: go ys
31{-# INLINE intersperse #-}
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list