I already knew that some functions can do curry in Go, some cannot. When can I use curry in GO? Is there any examples about curry that can be used in GO. Also, does Go support partial application? Is there any examples about this.
Go does not do automatic currying. Functions can take a variable number of arguments, though, and Go has first class functions so you can do it manually: https://play.golang.org/p/hf93wGyiS_
Can Go does partial application?
Can you give me an example for partial application in GO if it can be used?
Just curious - what are the benefits of applying pure functional programming concepts to imperative languages? (Other than making the code hard to read for others.)
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.