Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit e56ff1c

Browse files
committed
Minor copy editions.
1 parent 8984d9d commit e56ff1c

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/index.ls

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# # monads.validation
1+
# # Monad: Validation
22
#
33
# The `Validation(a, b)` is a disjunction that's more appropriate for
44
# validating inputs, or any use case where you want to aggregate
@@ -38,7 +38,7 @@
3838
class Validation
3939
->
4040

41-
# ### Section: Constructors ##########################################
41+
# ### Constructors ###################################################
4242

4343
# #### Function: Failure
4444
#
@@ -66,7 +66,7 @@ class Validation
6666
| _ => new Failure(a)
6767

6868

69-
# ### Section: Predicates ############################################
69+
# ### Predicates #####################################################
7070

7171
# #### Field: is-failure
7272
#
@@ -83,7 +83,7 @@ class Validation
8383
is-success: false
8484

8585

86-
# ### Section: Applicative ###########################################
86+
# ### Applicative ####################################################
8787

8888
# #### Function: of
8989
#
@@ -107,7 +107,7 @@ class Validation
107107
ap: (_) -> ...
108108

109109

110-
# ### Section: Functor ###############################################
110+
# ### Functor ########################################################
111111

112112
# #### Function: map
113113
#
@@ -118,7 +118,7 @@ class Validation
118118
map: (_) -> ...
119119

120120

121-
# ### Section: Chain #################################################
121+
# ### Chain ##########################################################
122122

123123
# #### Function: chain
124124
#
@@ -129,7 +129,7 @@ class Validation
129129
chain: (_) -> ...
130130

131131

132-
# ### Section: Show ##################################################
132+
# ### Show ###########################################################
133133

134134
# #### Function: to-string
135135
#
@@ -139,7 +139,7 @@ class Validation
139139
to-string: -> ...
140140

141141

142-
# ### Section: Eq ####################################################
142+
# ### Eq #############################################################
143143

144144
# #### Function: is-equal
145145
#
@@ -150,7 +150,7 @@ class Validation
150150
is-equal: (_) -> ...
151151

152152

153-
# ### Section: Extracting and Recovering #############################
153+
# ### Extracting and Recovering ######################################
154154

155155
# #### Function: get
156156
#
@@ -188,7 +188,7 @@ class Validation
188188
merge: -> @value
189189

190190

191-
# ### Section: Folds and Extended Transformations ####################
191+
# ### Folds and Extended Transformations #############################
192192

193193
# #### Function: fold
194194
#

0 commit comments

Comments
 (0)