@@ -10,15 +10,15 @@ interface Functor (f : Type -> Type) where
10 ||| Apply a function across everything of type 'a' in a
10 ||| Apply a function across everything of type 'a' in a
11 ||| parameterised type
11 ||| parameterised type
12 ||| @ f the parameterised type
12 ||| @ f the parameterised type
13− ||| @ m the function to apply
13+ ||| @ func the function to apply
14− map : (m : a -> b) -> f a -> f b
14+ map : (func : a -> b) -> f a -> f b
16infixl 4 <$>
16infixl 4 <$>
18||| An infix alias for `map`, applying a function across everything of
18||| An infix alias for `map`, applying a function across everything of
19||| type 'a' in a parameterised type
19||| type 'a' in a parameterised type
20||| @ f the parameterised type
20||| @ f the parameterised type
21−||| @ m the function to apply
21+||| @ func the function to apply
22−(<$>) : Functor f => (m : a -> b) -> f a -> f b
22+(<$>) : Functor f => (func : a -> b) -> f a -> f b
23−m <$> x = map m x
23+func <$> x = map func x