mirror of
https://github.com/IBM/fp-go.git
synced 2025-06-17 00:07:49 +02:00
fix: add auto generation for Eitherize
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
@ -1,9 +1,5 @@
|
||||
package function
|
||||
|
||||
func Pipe0[T0 any](t0 T0) T0 {
|
||||
return t0
|
||||
}
|
||||
|
||||
// Identity returns the value 'a'
|
||||
func Identity[A any](a A) A {
|
||||
return a
|
||||
|
Reference in New Issue
Block a user