import { Functor } from "@siteimprove/alfa-functor" ; import { Mapper } from "@siteimprove/alfa-mapper" ; public export interface Applicative < T > extends Functor < T > { map < U > ( mapper ) : Applicative < U > ; apply < U > ( mapper ) : Applicative < U > ; }