on master help sign in
Merge pull request #792 from jvoigtlaender/patch-1

correct documentation of `rem`

commitfd2c7280bf28e6fab495023bde62d61f8a9d23d8 authorEvan Czaplicki <info@elm-lang.org> dateTue 23 Sep 2014, 16:24 (12 years ago) parentc3c52cd798182f
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