a guest Dec 16th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- val bookings: F[BookingKey => EitherK[Booking, BookingCommandRejection, F]] =
- // Type alias for simplicity.
- // Equivalent to:
- // BookingKey => F[Booking[λ[α => F[Either[BookingCommandRejection, α]]]]]
- type Bookings[F[_]] = Entities.Rejectable[BookingKey, Booking, F, BookingCommandRejection]
- val adaptedBookings: F[Bookings[F]] =
RAW Paste Data