gofp

所属分类:工具库
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-07-31 15:50:32
上 传 者sh-1993
说明:  Go函数编程库,
(Functional Programming Library for Go,)

文件列表:
LICENSE (11357, 2023-08-13)
clear-test-cache (20, 2023-08-13)
fp/ (0, 2023-08-13)
fp/array.go (7890, 2023-08-13)
fp/array_factory.go (576, 2023-08-13)
fp/either.go (1428, 2023-08-13)
fp/helpers.go (2167, 2023-08-13)
fp/list.go (8731, 2023-08-13)
fp/list_factory.go (702, 2023-08-13)
fp/map.go (2484, 2023-08-13)
fp/option.go (976, 2023-08-13)
fp/pair.go (285, 2023-08-13)
fp/seq.go (5194, 2023-08-13)
fp/seq_factory.go (809, 2023-08-13)
fp/unit.go (103, 2023-08-13)
fp_test/ (0, 2023-08-13)
fp_test/array_factory_test.go (2773, 2023-08-13)
fp_test/array_test.go (24079, 2023-08-13)
fp_test/either_test.go (2509, 2023-08-13)
fp_test/list_factory_test.go (2786, 2023-08-13)
fp_test/list_test.go (23771, 2023-08-13)
fp_test/map_test.go (4018, 2023-08-13)
fp_test/option_test.go (1552, 2023-08-13)
fp_test/seq_test.go (6818, 2023-08-13)
go.mod (284, 2023-08-13)
go.sum (1497, 2023-08-13)
performance_test/ (0, 2023-08-13)
performance_test/array_test.go (1598, 2023-08-13)
performance_test/helpers_test.go (118, 2023-08-13)
performance_test/list_test.go (1585, 2023-08-13)
test-fp (37, 2023-08-13)
test-fp-performance (130, 2023-08-13)

# gofp Functional Programming Library for Go ## About This is a functional programming library for `go`. The purpose is to propose more features than many of the existing functional programming `go` libraries. Many of the features are inspired by Scala. ## Limitations Some of the functions are implemented not as interface methods due to some `go` language limitations: - Methods cannot define their own generic types, for example for `map` function - In some cases `go` compiler gives `Instantiation cycle` error, for example method `Seq.Sliding` should return `Seq[Seq[T]]`, which causes the error Methods that cause `Instantiation cycle` error are implemented as functions. ## Future work - Structures - LazyList - LazyArray

近期下载者

相关文件


收藏者