原书出处
Go语言精进之路 _ 从新手到高手的编程思想,方法和技巧 = Go programming from beginners
,该方法接受一个函数类型参数,并在容器的每个元素上应用那个函数,得到一个新函子,
原函子容器内部的元素值不受影响。 我们还是用一个具体的示例来直观看一下: // 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