X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=GHC%2FList.lhs;h=67c651edc34fcaf07b9eb98718a4582f87f7c968;hb=566d4ea2e4434bf0bedfaa518c31bca42959855d;hp=cb8f0eb4008ca2f1aea0423e7a4b55508a4f15f9;hpb=7bd1a6a2d6ba6acfa19ffe46cb535f0ce427dc86;p=ghc-base.git diff --git a/GHC/List.lhs b/GHC/List.lhs index cb8f0eb..67c651e 100644 --- a/GHC/List.lhs +++ b/GHC/List.lhs @@ -108,7 +108,7 @@ null :: [a] -> Bool null [] = True null (_:_) = False --- | 'length' returns the length of a finite list as an 'Int'. +-- | /O(n)/. 'length' returns the length of a finite list as an 'Int'. -- It is an instance of the more general 'Data.List.genericLength', -- the result type of which may be any kind of number. length :: [a] -> Int