Hi. I am very new to Haskell and I am stucked on this page: Syntax in Functions - Learn You a Haskell for Great Good!
None of the examples works for me. For example I get:
GHCi, version 8.10.7: https://www.haskell.org/ghc/ :? for help
Prelude> lucky 7 = "LUCKY NUMBER SEVEN!"
Prelude> lucky x = "Sorry, you're out of luck, pal!"
Prelude> lucky 7
"Sorry, you're out of luck, pal!"
Prelude>
What do I do wrong?