added module definition

master
mandlm 2016-09-24 23:10:37 +02:00
parent 8f7fac09b9
commit 8eb0326df5
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
module CreditCard where
lastDigit :: Integer -> Integer
lastDigit n = n `mod` 10