arliss_obsidian/fp/Class/Apply.md

13 lines
164 B
Markdown
Raw Normal View History

2024-09-22 19:24:51 +00:00
Generalizes [[Functor]] to functions with 2+ arguments
```haskell
apply ::
forall f a b
. Apply f
=> f (a -> b)
-> f a
-> f b
infixl apply as <*>
```