moduleNetwork.Loli.TypewhereimportControl.Monad.ReaderimportControl.Monad.StateimportData.DefaultimportHackimportHack.Contrib.UtilsimportNetwork.Loli.Middleware.LoliRoutertypeRoutePathTa=(RequestMethod,String,a)typeRoutePath=RoutePathTAppUnittypeAppReader=EnvtypeAppState=ResponsetypeAppUnitT=ReaderTAppReader(StateTAppStateIO)typeAppUnit=AppUnitT()typeAssoc=[(String,String)]typeContext=AssoctypeRouterTa=String->(a->Application)->RoutePathTa->MiddlewaretypeRouter=RouterTAppUnitdataRouteConfig=RouteConfig{route_path::RoutePath,router::Router}dataLoli=Loli{current_router::Router,routes::[RouteConfig],middlewares::[Middleware],mimes::Assoc}instanceDefaultLoliwheredef=Loliloli_routerdef[dummy_middleware]deftypeUnitTa=StateLoliatypeUnit=UnitT()classTemplateawhere-- the only interface for templateinterpolate::a->String->Context->IOString