untitled paste

unlisted ⁨1⁩ ⁨file⁩ 2022-03-16 07:50:06 UTC

x.nim

Raw
const 
    alphanumerics = "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
proc alpha(n: char) bool = # Invalid indentation here.
    if n in alphanumerics:
        return true
    else:
        return false

echo alpha(n)