Make `intersperse` work right up to the edge (#276)
authorDavid Feuer <David.Feuer@gmail.com>
Tue, 31 May 2016 17:29:20 +0000 (13:29 -0400)
committerDavid Feuer <David.Feuer@gmail.com>
Tue, 31 May 2016 17:29:20 +0000 (13:29 -0400)
commitaf1e36e5fd48ef4111e00f607dbcc794071d79b0
treeeb0e925deba55c85d6e2b8beac5a11467f166bdb
parentc5728d605db21b5ab8b93e4cea92156f10e9b475
Make `intersperse` work right up to the edge (#276)

Previously, `intersperse` would fail if passed a sequence of
length

```haskell
((maxBound :: Int) `quot` 2) + 1
```

Now it should be able to produce results of lengths right up to
`maxBound :: Int`.
Data/Sequence.hs