in julia, give a one-liner function that figures out if a sentence is a pangram. in ruby

In Julia, you can create a one-liner function to check if a sentence is a pangram using the following code:

is_pangram(s) = all(c -> any(lowercase(c) .== 'a':'z'), lowercase(s))
70 chars
2 lines

This function takes a sentence s as input and checks if each letter from 'a' to 'z' is present in the lowercase sentence. It returns true if all the letters are present, indicating that it is a pangram, and false otherwise.

Note that this function considers only ASCII characters. To handle non-ASCII characters, you can modify the comparison range or use Unicode character properties.

Please let me know if you need any further assistance.

gistlibby LogSnag