mirror of
https://github.com/IBM/fp-go.git
synced 2025-08-10 22:31:32 +02:00
doc: ad doc to SK function
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
@@ -26,6 +26,7 @@ func Bind2nd[T1, T2, R any](f func(T1, T2) R, t2 T2) func(T1) R {
|
||||
}
|
||||
}
|
||||
|
||||
// SK function (SKI combinator calculus).
|
||||
func SK[T1, T2 any](_ T1, t2 T2) T2 {
|
||||
return t2
|
||||
}
|
||||
|
Reference in New Issue
Block a user