Idiomatically determine all the lowercase and uppercase letters: Difference between revisions

Realise in F#
(Realise in F#)
Line 73:
</pre>
 
=={{header|F_Sharp|F#}}==
<lang fsharp>
seq{(char)0..(char)127} |> Seq.filter(System.Char.IsUpper) |> Seq.iter (string >> printf "%s"); printfn ""
seq{(char)0..(char)127} |> Seq.filter(System.Char.IsLower) |> Seq.iter (string >> printf "%s"); printfn ""
</lang>
{{out}}
<pre>
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
</pre>
=={{header|Go}}==
Shown are ASCII and Unicode lower and upper case. Relevant to Unicode definitions of lower and upper case is not the hardware or operating system but the Unicode version implemented.
2,172

edits