While working through PureScript tutorials, the code samples start using "=>" without introducing it. As results I don't understand when to use '=>' and not '->'.
For example this uses '=>':
instance showArray :: (Show a) => Show (Array a) where
show array = "[" <> map show array <> "]"
where as this uses '->':
greet :: forall r. { name :: String | r} -> String
greet namedThing = "Hello, " ++ namedThing.name