Update haskell.md

This commit is contained in:
Boris Verkhovskiy 2024-12-09 03:47:06 -07:00 committed by GitHub
parent 0d10b10425
commit 63e12ed0cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ True || False -- True
['H', 'e', 'l', 'l', 'o'] -- "Hello"
-- Lists can be indexed with the `!!` operator followed by an index
-- Be aware that since lists are linked lists, this is an O(n) operation
-- but this is an O(n) operation because lists are linked lists
"This is a string" !! 0 -- 'T'