on master help sign in
Update docs test
2cda43eEdwin Brady
test/docs003/expected+4−3
@@ -1,12 +1,13 @@
1Type class Functor
1Type class Functor
2− Functors
2+ Functors allow a uniform action over a parameterised type.
3
3
4Parameters:
4Parameters:
5− f -- the action of the functor on objects
5+ f -- a parameterised type
6
6
7Methods:
7Methods:
8 map : Functor f => (m : a -> b) -> f a -> f b
8 map : Functor f => (m : a -> b) -> f a -> f b
9− The action of the functor on morphisms
9+ Apply a function across everything of type 'a' in a
10+ parameterised type
10
11
11 The function is Total
12 The function is Total
12Instances:
13Instances: