Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flap function to Apply #2588

Merged
merged 5 commits into from
Nov 16, 2018
Merged

Add flap function to Apply #2588

merged 5 commits into from
Nov 16, 2018

Commits on Oct 30, 2018

  1. Add flap function to Apply

    Add the `flap` function to `Apply` to facilitate combining a function in an
    `Apply` context with a value which is not.
    
    This is similar to `ap`:
    
    ```
    def ap[A, B](ff: F[A => B])(fa: F[A]): F[B]
    ```
    
    with the minor change of the value not being in a context:
    
    ```
    def flap[A, B](ff: F[A => B])(a: A): F[B]
                                  ^^^^
    ```
    ssanj committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    46fe859 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2018

  1. Configuration menu
    Copy the full SHA
    6c01b5c View commit details
    Browse the repository at this point in the history
  2. Fix style errors

    ssanj committed Nov 7, 2018
    Configuration menu
    Copy the full SHA
    c8ae69b View commit details
    Browse the repository at this point in the history
  3. Fix scalafmt error

    ssanj committed Nov 7, 2018
    Configuration menu
    Copy the full SHA
    b8dc28c View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2018

  1. Configuration menu
    Copy the full SHA
    7ff5d8f View commit details
    Browse the repository at this point in the history