real-world-haskell-cn
real-world-haskell-cn copied to clipboard
backquote 翻译
第四章:函数式编程 节 这一小节中有如下文字
之前提到过,通过使用反括号来包围一个函数,可以将这个函数用作中序操作符。这种用法可以让节使用函数:
Prelude> :type (`elem` ['a' .. 'z']) (`elem` ['a' .. 'z']) :: Char -> Bool
原文是
Recall that we can wrap a function name in backquotes to use it as an infix operator. This lets us use sections with functions.
其中将 backquotes
翻译成 反括号
,但是这个叫反引号应该更直观吧,还是有什么说法。
@huangz1990