on master help sign in
correct documentation of `rem`
commit798182f67879d888b92441d13c454476c5901545 authorjvoigtlaender <jvoigtlaender@users.noreply.github.com> dateTue 23 Sep 2014, 22:24 (12 years ago) parentc3c52cd
1 file changed+2−2
libraries/Basics.elm+2−2
libraries/Basics.elm+2−2
@@ -108,7 +108,7 @@ infixl 7 `rem`
108108{-| Finds the remainder after dividing one number by another:
109109
110110 7 `rem` 2 == 1
111− -1 `rem` 4 == 1
111+ -1 `rem` 4 == -1
112112-}
113113rem : Int -> Int -> Int
114114rem = Native.Basics.rem
@@ -416,4 +416,4 @@ curry f a b = f (a,b)
416416This combines two arguments into a single pair.
417417-}
418418uncurry : (a -> b -> c) -> (a,b) -> c
419−uncurry f (a,b) = f a b
419+uncurry f (a,b) = f a b