real-world-haskell-cn icon indicating copy to clipboard operation
real-world-haskell-cn copied to clipboard

backquote 翻译

Open Ynjxsjmh opened this issue 4 years ago • 1 comments

第四章:函数式编程 节 这一小节中有如下文字

之前提到过,通过使用反括号来包围一个函数,可以将这个函数用作中序操作符。这种用法可以让节使用函数:

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 翻译成 反括号,但是这个叫反引号应该更直观吧,还是有什么说法。

Ynjxsjmh avatar Sep 08 '19 16:09 Ynjxsjmh

@huangz1990

alingse avatar Sep 15 '22 15:09 alingse