on f86e01e help sign in
ormolu/data/examples/declaration/value/function/arithmetic-sequences.hs
15 lines 203 B history raw
1foo = [0..]
2foo' = [0..5]
3bar x = [
4 0..x
5 ]
6baz x = [
7 1,
8 3 ..
9 x
10 ]
11barbaz x = [ 0, 1.. ]
12arst = [0 :: Int ..]
13brst = [0, 1 :: Int ..]
14crst = [0 :: Int .. 10]
15drst = [0, 1 :: Int .. 10]