• Given a display function dispFun, and a matrix aMatrix, logs the contents representing the contents of the list on the console. This function is curried on its first parameter.

    Parameters

    • dispFun: ((a: any) => string) = anyToString

      a function that displays a single element

        • (a): string
        • Parameters

          • a: any

          Returns string

    Returns ((a: List<List<any>>) => void)

    • a function displaying a matrix
      • (a): void
      • Parameters

        Returns void