A B C D F L M O P R S T Z 
All Classes All Packages

A

andThen(Starter<M>) - Method in interface org.movealong.sly.app.Starter
Creates a new Starter will compose this and next so that this is started followed by next.
andThen(Stopper<M>) - Method in interface org.movealong.sly.app.Stopper
Creates a new Stopper that will stop this and then stop next.
App - Class in org.movealong.sly.app
A
App() - Constructor for class org.movealong.sly.app.App
 

B

bind(ServiceHandle<S>, Service<S>) - Static method in class org.movealong.sly.app.App
Binds a Service to a ServiceHandle.

C

create() - Static method in class org.movealong.sly.app.ServiceHandle
 

D

discardL(Applicative<B, Service<?>>) - Method in class org.movealong.sly.app.Service
discardR(Applicative<B, Service<?>>) - Method in class org.movealong.sly.app.Service

F

flatMap(Fn1<? super S, ? extends Monad<B, Service<?>>>) - Method in class org.movealong.sly.app.Service
fmap(Fn1<? super S, ? extends B>) - Method in class org.movealong.sly.app.Service

L

lazyZip(Lazy<? extends Applicative<Fn1<? super S, ? extends B>, Service<?>>>) - Method in class org.movealong.sly.app.Service

M

mapStarter(NaturalTransformation<M, N>) - Method in interface org.movealong.sly.app.Starter
Transforms the Monad of the Starter through the application of a NaturalTransformation.
mapStopper(NaturalTransformation<M, N>) - Method in interface org.movealong.sly.app.Stopper
Transforms the Monad of the Stopper through the application of a NaturalTransformation.

O

org.movealong.sly.app - package org.movealong.sly.app
 

P

pure(B) - Method in class org.movealong.sly.app.Service

R

resolve(Service<S>) - Static method in class org.movealong.sly.app.App
Resolves a service.
resolve(ServiceHandle<S>) - Static method in class org.movealong.sly.app.App
Resolves a service by its ServiceHandle.
run() - Method in interface org.movealong.sly.app.Runner
Represents the main body of an application.
run(Kleisli<App, A, IO<?>, IO<A>>) - Static method in class org.movealong.sly.app.App
Runs an application in the form of an application function that yields n Runner that produces a Functor that bears the ultimate return type.
runner(Runner<A, F, FA>) - Static method in interface org.movealong.sly.app.Runner
A convenience method for correctly typing a lambda as an Runner.
Runner<A,​F extends com.jnape.palatable.lambda.functor.Functor<?,​F>,​FA extends com.jnape.palatable.lambda.functor.Functor<A,​F>> - Interface in org.movealong.sly.app
An application

S

service(IO<S>) - Static method in class org.movealong.sly.app.Service
Constructs a pure Service around an IO that produces the service object.
service(ServiceHandle<Dep>, Fn1<Dep, Service<S>>) - Static method in class org.movealong.sly.app.Service
Constructs a Service with one dependency.
service(ServiceHandle<Dep1>, ServiceHandle<Dep2>, Fn2<Dep1, Dep2, Service<S>>) - Static method in class org.movealong.sly.app.Service
Constructs a Service with two dependencies.
service(ServiceHandle<Dep1>, ServiceHandle<Dep2>, ServiceHandle<Dep3>, Fn3<Dep1, Dep2, Dep3, Service<S>>) - Static method in class org.movealong.sly.app.Service
Constructs a Service with three dependencies.
service(ServiceHandle<Dep1>, ServiceHandle<Dep2>, ServiceHandle<Dep3>, ServiceHandle<Dep4>, Fn4<Dep1, Dep2, Dep3, Dep4, Service<S>>) - Static method in class org.movealong.sly.app.Service
Constructs a Service with four dependencies.
service(ServiceHandle<Dep1>, ServiceHandle<Dep2>, ServiceHandle<Dep3>, ServiceHandle<Dep4>, ServiceHandle<Dep5>, Fn5<Dep1, Dep2, Dep3, Dep4, Dep5, Service<S>>) - Static method in class org.movealong.sly.app.Service
Constructs a Service with five dependencies.
service(ServiceHandle<Dep1>, ServiceHandle<Dep2>, ServiceHandle<Dep3>, ServiceHandle<Dep4>, ServiceHandle<Dep5>, ServiceHandle<Dep6>, Fn6<Dep1, Dep2, Dep3, Dep4, Dep5, Dep6, Service<S>>) - Static method in class org.movealong.sly.app.Service
Constructs a Service with six dependencies.
service(ServiceHandle<Dep1>, ServiceHandle<Dep2>, ServiceHandle<Dep3>, ServiceHandle<Dep4>, ServiceHandle<Dep5>, ServiceHandle<Dep6>, ServiceHandle<Dep7>, Fn7<Dep1, Dep2, Dep3, Dep4, Dep5, Dep6, Dep7, Service<S>>) - Static method in class org.movealong.sly.app.Service
Constructs a Service with seven dependencies.
Service<S> - Class in org.movealong.sly.app
Service is a monad representing the effect of resolving the dependencies of a service object so that it may be constructed.
Service() - Constructor for class org.movealong.sly.app.Service
 
ServiceException - Exception in org.movealong.sly.app
An exception that is thrown in the course of binding or resolving services in App.
ServiceException(String, ServiceHandle<?>) - Constructor for exception org.movealong.sly.app.ServiceException
 
ServiceHandle<S> - Class in org.movealong.sly.app
A handle with non-fungible values that is used for binding Services in an App.
ServiceHandle() - Constructor for class org.movealong.sly.app.ServiceHandle
 
serviceRef(ServiceHandle<S>) - Static method in class org.movealong.sly.app.Service
Constructs a Service by references using a handle.
start() - Method in interface org.movealong.sly.app.Starter
Starts an application component, returning a Stopper in a monadic context.
start(Kleisli<App, S, IO<?>, IO<S>>) - Static method in class org.movealong.sly.app.App
Starts an application in the form of an application function that yields a Starter, which in turn handles starting and stopping the long-running components of the application.
starter(Fn0<? extends Monad<Stopper<M>, M>>) - Static method in interface org.movealong.sly.app.Starter
A convenience method for creating a Starter from a lambda expression.
Starter<M extends com.jnape.palatable.lambda.monad.Monad<?,​M>> - Interface in org.movealong.sly.app
Starter and Stopper form a mechanism for controlling an application component that requires set up and tear down.
stop() - Method in interface org.movealong.sly.app.Stopper
Stops an application component, returning a Unit in a monadic context.
stopper(Fn0<? extends Monad<Unit, M>>) - Static method in interface org.movealong.sly.app.Stopper
A convenience method for creating a Stopper from a lambda expression.
Stopper<M extends com.jnape.palatable.lambda.monad.Monad<?,​M>> - Interface in org.movealong.sly.app
Starter and Stopper form a mechanism for controlling an application component that requires set up and tear down.

T

trampolineM(Fn1<? super S, ? extends MonadRec<RecursiveResult<S, B>, Service<?>>>) - Method in class org.movealong.sly.app.Service

Z

zip(Applicative<Fn1<? super S, ? extends B>, Service<?>>) - Method in class org.movealong.sly.app.Service
A B C D F L M O P R S T Z 
All Classes All Packages