Skip to content

Commit

Permalink
Merge pull request #792 from jvoigtlaender/patch-1
Browse files Browse the repository at this point in the history
correct documentation of `rem`
  • Loading branch information
process-bot committed Sep 23, 2014
2 parents c3c52cd + 798182f commit fd2c728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/Basics.elm
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ infixl 7 `rem`
{-| Finds the remainder after dividing one number by another:
7 `rem` 2 == 1
-1 `rem` 4 == 1
-1 `rem` 4 == -1
-}
rem : Int -> Int -> Int
rem = Native.Basics.rem
Expand Down Expand Up @@ -416,4 +416,4 @@ curry f a b = f (a,b)
This combines two arguments into a single pair.
-}
uncurry : (a -> b -> c) -> (a,b) -> c
uncurry f (a,b) = f a b
uncurry f (a,b) = f a b

0 comments on commit fd2c728

Please sign in to comment.