learn-fp-go
learn-fp-go copied to clipboard
Learning Functional Programming in Go
Hi, Examples are written using Go 1.9, and need glide to manage dependencies. Do you know how to use this code with an up-to-date Go version ? BR
Hi I've added ability working with your code in docker container with Go 1.15 and Vim Go IDE Best regards, Aleksey Kislitsa
https://github.com/l3x/learn-fp-go/blob/7639825d0b71633420ba17a10abb5c69491ba517/1-functional-fundamentals/ch01-pure-fp/06_curry/main.go#L5 This assignment of `n` to `ret` by the return statement is ineffective and confusing, the assignment in the deferred function will overwrite it. This line should simply be `return`...
In chapter 1's Fibonacci examples we're told we can use memoization and concurrency to improve the performance of our recursive pure function. The concurrency example does use concurrency to separate...
I may have found an issue with the listing for the Fibonacci sequence using memoization. I think that there is a correct implementation in the memoize.go_ORIG but the memorize.go is...
https://github.com/l3x/learn-fp-go/blob/7639825d0b71633420ba17a10abb5c69491ba517/1-functional-fundamentals/ch01-pure-fp/05_sum/src/sum/tailcall.go#L7
Hello l3x, I'm currently reading your book. How do I know whether I have the draft or the latest version? The first thing I learned from your book is the...