on master help sign in
Fix Multiplicative/Additive docs
37845e4Benjamin Hodgson
libs/prelude/Prelude/Nat.idr+2−2
@@ -213,12 +213,12 @@ instance MinBound Nat where
213instance Cast Integer Nat where
213instance Cast Integer Nat where
214 cast = fromInteger
214 cast = fromInteger
215
215
216−||| A wrapper for Nat that specifies the semigroup and monad instances that use (+)
216+||| A wrapper for Nat that specifies the semigroup and monad instances that use (*)
217record Multiplicative where
217record Multiplicative where
218 constructor getMultiplicative
218 constructor getMultiplicative
219 _ : Nat
219 _ : Nat
220
220
221−||| A wrapper for Nat that specifies the semigroup and monad instances that use (*)
221+||| A wrapper for Nat that specifies the semigroup and monad instances that use (+)
222record Additive where
222record Additive where
223 constructor getAdditive
223 constructor getAdditive
224 _ : Nat
224 _ : Nat