added module definition
This commit is contained in:
parent
8f7fac09b9
commit
8eb0326df5
@ -1,4 +1,4 @@
|
||||
|
||||
module CreditCard where
|
||||
|
||||
lastDigit :: Integer -> Integer
|
||||
lastDigit n = n `mod` 10
|
||||
|
Reference in New Issue
Block a user