I'm trying to do it by pattern matching with the following
[x| x <- "example string", x > 106]
I know you can compare things such as x > a
, and I'm guessing an explicit conversion is needed. One method to do this I found online but doesn't work is
[x| x <- "example string", ord x > 106]
And apparently doesn't recognise ord as a valid keyword.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…