@@ -91,11 +91,11 @@ Arguments evalWriterT {S} {Monoid_S} {m} {M} {T} _.
9191Arguments execWriterT {S} {Monoid_S} {m} {M} {T} _.
9292
9393Section MapWriterT.
94- Variable A B: Type.
9594 Variable W W': Type.
9695 Variable Monoid_W : Monoid W.
9796 Variable Monoid_W' : Monoid W'.
9897 Variable m n : Type -> Type.
98+ Variable A B: Type.
9999
100100 Open Scope program_scope.
101101
@@ -110,10 +110,10 @@ Section MapWriterT.
110110End MapWriterT.
111111
112112Section CastWriterT.
113- Variable A: Type.
114113 Variable W : Type.
115114 Variable Monoid_W Monoid_W': Monoid W.
116115 Variable m : Type -> Type.
116+ Variable A: Type.
117117
118118 Open Scope program_scope.
119119
@@ -129,8 +129,8 @@ End CastWriterT.
129129Section WriterMonad.
130130
131131 Variable W: Type.
132- Variable A: Type.
133132 Variable Monoid_W : Monoid W.
133+ Variable A: Type.
134134
135135 Open Scope program_scope.
136136
@@ -142,10 +142,10 @@ Section WriterMonad.
142142End WriterMonad.
143143
144144Section MapWriter.
145- Variable A B: Type.
146145 Variable W W' : Type.
147146 Variable Monoid_W: Monoid W.
148147 Variable Monoid_W': Monoid W'.
148+ Variable A B: Type.
149149
150150 Open Scope program_scope.
151151
@@ -155,14 +155,14 @@ Section MapWriter.
155155 Definition mapWriter (f: (pprod A W)%type -> (pprod B W')%type) :
156156 writer Monoid_W A -> writer Monoid_W' B
157157 :=
158- mapWriterT B Monoid_W' ident (mkIdent ∘ f ∘ unIdent).
158+ mapWriterT Monoid_W' ident B (mkIdent ∘ f ∘ unIdent).
159159
160160End MapWriter.
161161
162162Section CastWriter.
163- Variable A: Type.
164163 Variable W : Type.
165164 Variable Monoid_W Monoid_W': Monoid W.
165+ Variable A: Type.
166166
167167 Open Scope program_scope.
168168
0 commit comments