• Given a display function dispFun, and a list aList, 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) = ...

      a function that displays a single element

        • (a): string
        • Parameters

          • a: any

          Returns string

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

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

        Returns void