Merge pull request #4038 from sburris0/master

[Haskell/en] Explain the !! operator
This commit is contained in:
Max Schumacher 2020-10-20 12:43:49 +02:00 committed by GitHub
commit a990544875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,8 @@ not False -- True
-- A string is a list of characters
['H', 'e', 'l', 'l', 'o'] -- "Hello"
-- Lists can be indexed with the `!!` operator followed by an index
"This is a string" !! 0 -- 'T'