I'm trying out Haskell in GHCi on Windows. In the tutorial I'm following, a function name is enclosed in backticks: x `mod` 7
. However, I can't enter the character in GHCi.
The backtick character has ASCII value 096, but GHCI does not allow Alt + number to insert any character. Copying/pasting doesn't work either. What should I do?
x `mod` 7
is the same asmod x 7
. Backticks are just a way to use a function in an infix manner. Also, these options don't sound particularly convenient, but here is some info on typing backticks on Italian keyboards: superuser.com/questions/598135/… – David Youngghci
itself. – JustGage