- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ApplicativeFunctor1 (0.15 sec)
-
test/typeparam/issue50485.dir/a.go
if opt.IsDefined() { return fn(opt.Get()) } return None[U]() } type ApplicativeFunctor1[H Header[HT], HT, A, R any] struct { h Option[H] fn Option[Func1[A, R]] } func (r ApplicativeFunctor1[H, HT, A, R]) ApOption(a Option[A]) Option[R] { return Ap(r.fn, a) } func (r ApplicativeFunctor1[H, HT, A, R]) Ap(a A) Option[R] { return r.ApOption(Some(a)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 4.4K bytes - Viewed (0)