Clojure裡面的Higher-Order Function
還是在翻譯《seven programming languages in seven weeks》時遇到了問題。需要請教一下大家。我認為map
,filter
都是高階函式,但是原書中有兩處讓我感到困惑。
1. We can build a list of the lengths of the names, like this:
user=> (map count people)
(3 8)
You've seen these concepts before. count
in this context is a higher-order
function.
2. Here are some of the functions on collections that use higher-order functions.
- apply ...
- filter ...
給我的感覺好像是原作者認為傳遞給map,apply的函式才是更高階。我去wiki確認了一下:
In computer science, higher-order functions, are functions which do at least one of the following:
- take one or more functions as an input
- output a function
又去線上書店查了Errata,也沒找到相關資訊。
原作者的表述有錯嗎?我翻譯的時候該怎麼辦呢?
相關文章
- $(function{})裡面的onclick報錯Function
- JavaScript: window.onload = function() {} 裡面的函式不執行JavaScriptFunction函式
- Go 裡面的 ^ 和 &^Go
- 匿名函式function前面的! ~等符號作用函式Function符號
- SAP SEGW 事物碼裡的 Function ImportFunctionImport
- angular8裡面的*ngSwitchAngular
- 聊聊Go裡面的閉包Go
- 獲取cookie裡面的值Cookie
- 遊戲裡面的容斥原理遊戲
- emacs 配置 clojureMac
- Clojure 入門
- 父頁面如何輸出iframe裡面的變數,或者呼叫iframe裡面的方法?變數
- $(function(){}裡面方法不載入問題Function
- 如何獲取 alter 裡面的字串?字串
- elasticsearch裡面的內容搜尋Elasticsearch
- v$database裡面的created列值Database
- Oracle中SQL裡面的Help命令OracleSQL
- TSM裡面的sql語句(轉)SQL
- Oracle裡面的user被lock了Oracle
- Clojure入門教程: Clojure – Functional Programming for the JVM中文版FunctionJVM
- 想要影片裡的音樂,如何提取裡面的音訊?音訊
- 如何驗證 elk 裡面的資料?
- 如何調整Docker裡面的Image 大小?Docker
- packagereference 裡面的資產是怎麼回事?Package
- 關於模組裡面的註冊中心
- JDK裡面的JRE是什麼JDK
- 手工清理ASM裡面的垃圾檔案ASM
- SQL language裡面的經典問題SQL
- 處理sqlcommand裡面的引數SQL
- 淺析C++裡面的宏 (轉)C++
- Clojure 開發那些事
- 使用 Emacs 開發 ClojureMac
- clojure-emacs-autocompleteMac
- 利用MJExtension字典轉模型時,修改字典裡面的"id"key對應為模型裡面的其他的屬性模型
- javascript 中function(){},new function(),new Function(),Function 摘錄JavaScriptFunction
- Laravel 裡面的 chunk 分塊效率問題Laravel
- Medium裡面的react相關文章記錄React
- nodejs裡面的程式和執行緒NodeJS執行緒