Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Mod Removes Wiki by Martin Ender
2 deleted 49 characters in body

[[''..]!!1..'z']


Back-quote comes before 'a', so a is the second element of the sequence starting with back-quote. This is then just the sequence from a to z.

This is technically a naked Haskell expression, but if it is used as a .ghci (GHCi configuration file)If you save it to ".ghci", thenthough, running ghcighci will outputprint the alphabet. I am not sure if this counts as cheating.)

# .ghci, 17

[[''..]!!1..'z']


Back-quote comes before 'a', so a is the second element of the sequence starting with back-quote. This is then just the sequence from a to z.

This is technically a naked Haskell expression, but if it is used as a .ghci (GHCi configuration file), then running ghci will output the alphabet. I am not sure if this counts as cheating.

[[''..]!!1..'z']


Back-quote comes before 'a', so a is the second element of the sequence starting with back-quote. This is then just the sequence from a to z.

This is technically a naked Haskell expression. (If you save it to ".ghci", though, running ghci will print the alphabet.)

1

# .ghci, 17

[[''..]!!1..'z']


Back-quote comes before 'a', so a is the second element of the sequence starting with back-quote. This is then just the sequence from a to z.

This is technically a naked Haskell expression, but if it is used as a .ghci (GHCi configuration file), then running ghci will output the alphabet. I am not sure if this counts as cheating.

Post Made Community Wiki by archaephyrryx