When searching for a function on the Hoogle website, one sees the documentation associated with it, e.g.:
mod :: a -> a -> a infixl 7 integer modulus, satisfying (x `div` y)*y + (x `mod` y) == x
Hoogle also exists as a command line executable. As far as I know, it only shows the signature of the function:
~ ❯❯❯ hoogle --info Prelude.mod Prelude mod :: Integral a => a -> a -> a From package base mod :: Integral a => a -> a -> a
Is there a way to get the associated documentation through the command line, as in the online version?