on master help sign in
Tiny doc fix

Fixed the docs for Additive and Multiplicative (It said monad where it meant monoid)

commitf5eaf88ab1c2a5c026793ad41ff82e371769d647 authorSynthetica9 <patrickhilhorst97@gmail.com> dateTue 21 Mar 2017, 12:12 (10 years ago) parentebb4fee
1 file changed+2−2
libs/prelude/Prelude/Nat.idr+2−2
libs/prelude/Prelude/Nat.idr+2−2
@@ -236,12 +236,12 @@ Cast Integer Nat where
236236Cast String Nat where
237237 cast str = cast (the Integer (cast str))
238238
239−||| A wrapper for Nat that specifies the semigroup and monad implementations that use (*)
239+||| A wrapper for Nat that specifies the semigroup and monoid implementations that use (*)
240240record Multiplicative where
241241 constructor GetMultiplicative
242242 _ : Nat
243243
244−||| A wrapper for Nat that specifies the semigroup and monad implementations that use (+)
244+||| A wrapper for Nat that specifies the semigroup and monoid implementations that use (+)
245245record Additive where
246246 constructor GetAdditive
247247 _ : Nat