def loadhook(h):
 def processor(handler):
  h()
  return handler()
 return processor

def loadhook ( h ) : def processor ( handler ) : h ( ) return handler ( ) return processor
converts a load hook into an application processor .