added module definition
parent
8f7fac09b9
commit
8eb0326df5
|
@ -1,4 +1,4 @@
|
|||
|
||||
module CreditCard where
|
||||
|
||||
lastDigit :: Integer -> Integer
|
||||
lastDigit n = n `mod` 10
|
||||
|
|
Loading…
Reference in New Issue