forked from idris-lang/Idris-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexpected
39 lines (31 loc) · 850 Bytes
/
expected
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Interface Functor
Functors allow a uniform action over a parameterised type.
Parameters:
f -- a parameterised type
Methods:
map : Functor f => (func : a -> b) -> f a -> f b
Apply a function across everything of type 'a' in a parameterised type
The function is Total
Implementations:
Functor (Pair a)
Functor List
Functor (IO' ffi)
Functor Stream
Functor Provider
Functor Binder
Functor Elab
Functor PrimIO
Functor Maybe
Functor (Either e)
Named implementations:
docs003.mine : Functor List
docs003.another : Functor List
More functors!
Child interfaces:
Traversable f
Applicative f
Named implementation:
docs003.mine : Functor List
Named implementation:
docs003.another : Functor List
More functors!