Kanaka-io / play-monadic-actions

A simple scala DSL to allow clean and monadic style for Play! Actions
Other
128 stars 29 forks source link

expose StepT[F[_], A] and Step[A] #13

Closed drbild closed 8 years ago

drbild commented 8 years ago

The type alias for the StepT monad transformer helps with using liftM[G: MonadTrans] to lift a Future[A] directly to Step[A].

The type alias for the Step monad helps with using point[M: Monad] to lift an A directly to Step[A].

See the ExampleController test for example usage.

vil1 commented 8 years ago

Hi David.

This looks fine, but I have mixed feelings about it. Can we discuss that further on gitter ?

drbild commented 8 years ago

Sure thing. I'm in that room.

drbild commented 8 years ago

Closed in favor of #14