Manipulate and generate brazilian CPFs
Possible errors when dealing with CPFs
Turn a valid list of integers into a CPF.
(fromList [1,2,3,4,5,6,7,8,9,0,9] |> Result.map show) == Ok "123.456.789-09"Turn a valid string into a CPF.
(fromText "12345678909" |> Result.map show) == Ok "123.456.789-09"
(fromText "123.456.789-09" |> Result.map show) == Ok "123.456.789-09"Turn a CPF into a string.
Pretty print a given CPF
A brazilian CPF