← 返回卡片

原书出处

Go语言精进之路 _ 从新手到高手的编程思想,方法和技巧 = Go programming from beginners

第一册;前言2021年12月,OPF日期2021-12-31T16:00:00+00:00未确认为实际出版日 · 核验版本的摘录快照 · 导入于 2026-10-26T07:51:05.290Z

,该方法接受一个函数类型参数,并在容器的每个元素上应用那个函数,得到一个新函子,

原函子容器内部的元素值不受影响。 我们还是用一个具体的示例来直观看一下: // chapter4/sources/function_as_first_class_citizen_5.go type IntSliceFun

ctor interface { Fmap(fn func(int) int)

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Go语言精进之路 _ 从新手到高手的编程思想,方法和技巧 = Go programming from beginners/_epub-src/Text/Chapter21_0002.xhtml

EPUB SHA-256:ed420a18343af13da5588084e52b5c80baf71e64b3a9b7abcfbaa002f7e4d02f