I'm new to haskell and cannot work out what is wrong with my code. I keep getting a variable out of scope error.
Here is my code that i load into GHCi using :load
validLength :: String -> Bool
validLength xs | length xs == 26 = True
| otherwise = False
I then type validLength aa which should return false but i'm getting an error.
*Main> validLength aa
<interactive>:1:13: error: Variable not in scope: aa :: String