@mikuroxina/mini-fn
    Preparing search index...

    Function cartesianProduct

    • Creates the product of two lists with f. It is useful to exhaust value patterns of combinations.

      Type Parameters

      • A
      • B
      • C

      Parameters

      • f: (a: A) => (b: B) => C

        The function makes a product from two values.

      Returns (xs: List.List<A>) => (ys: List.List<B>) => List.List<C>

      The list of products.