======== Luhn Validation version: 0.0 2008-03-12 ======== This is a validation function for a Luhn Number (typically a Credit Card). It's my first foray in to Erlang. It will likely also be the last though. This took about 3 days of intermittant work until I figured out how Erlang works (I don't do much -- if any -- functional programming). Eventually, I got it to validate, although it could probably be done more efficiently by an Erlang master. It uses a non-concurrent model because, a) I don't know how a concurrent version of this could be useful or even made, and b) I had a hard enough time with it the way it is. One side note, the input must be in a list (e.g. [1, 2, 3, 4]). I couldn't find out how to parse a string in to a list and I gave up on the project/language shortly afterwards. Version History -------- - 0.0 [2008-03-12] Initial release Requirements -------- - Erlang (5.6.1) ======== http://www.mattptr.net