File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Module Data.Unfoldable
4
4
5
- ### Type Classes
5
+ #### ` Unfoldable `
6
6
7
- class Unfoldable t where
8
- unfoldr :: forall a b. (b -> Maybe (Tuple a b)) -> b -> t a
7
+ ``` purescript
8
+ class Unfoldable t where
9
+ unfoldr :: forall a b. (b -> Maybe (Tuple a b)) -> b -> t a
10
+ ```
9
11
10
12
11
- ### Type Class Instances
13
+ #### ` unfoldableArray `
12
14
13
- instance unfoldableArray :: Unfoldable Prim.Array
15
+ ``` purescript
16
+ instance unfoldableArray :: Unfoldable Prim.Array
17
+ ```
Original file line number Diff line number Diff line change 18
18
" package.json"
19
19
],
20
20
"dependencies" : {
21
- "purescript-arrays" : " ^ 0.3.0" ,
22
- "purescript-maybe" : " ^ 0.2.1" ,
23
- "purescript-tuples" : " ^0.2.3 "
21
+ "purescript-arrays" : " ~ 0.3.0" ,
22
+ "purescript-maybe" : " ~ 0.2.1" ,
23
+ "purescript-tuples" : " ~0.3.0 "
24
24
}
25
25
}
You can’t perform that action at this time.
0 commit comments