1
0
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:
Dr. Carsten Leue
2023-07-13 16:14:38 +02:00
parent 288422ecf1
commit b34f3e3ae1
20 changed files with 2200 additions and 1270 deletions

View File

@ -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