on master help sign in
Merge pull request #2468 from benjamin-hodgson/patch-1

Fix Multiplicative/Additive docs

commit54e4e41b49d93bdeb9d92ae10e6de3b495a720c1 authorNiklas Larsson <metaniklas@gmail.com> dateSat 25 Jul 2015, 21:44 (11 years ago) parent740d82d37845e4
1 file changed+2−2
libs/prelude/Prelude/Nat.idr+2−2
libs/prelude/Prelude/Nat.idr+2−2
@@ -213,12 +213,12 @@ instance MinBound Nat where
213213instance Cast Integer Nat where
214214 cast = fromInteger
215215
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 (*)
217217record Multiplicative where
218218 constructor getMultiplicative
219219 _ : Nat
220220
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 (+)
222222record Additive where
223223 constructor getAdditive
224224 _ : Nat