diff --git a/haskell.md b/haskell.md index 80a7be0c..29dcfc3d 100644 --- a/haskell.md +++ b/haskell.md @@ -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'