added module definition

This commit is contained in:
Michael Mandl 2016-09-24 23:10:37 +02:00
parent 8f7fac09b9
commit 8eb0326df5

View file

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