query
On this page

composeExtensions

lib.fixedPoints.composeExtensions

Docs pulled from | This Revision | about 2 hours ago


Compose two overlay functions and return a single overlay function that combines them. For more details see: composeManyExtensions.


Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

composeExtensions =
    f: g: final: prev:
    let
      fApplied = f final prev;
      prev' = prev // fApplied;
    in
    fApplied // g final prev';