• Computes a string displaying the contents of the stream aStream. This function is curried, takes a printing function for the values as first parameter, and then returns a function taking the stream to display.

    Parameters

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

      a function that displays a single element

        • (a): string
        • Parameters

          • a: any

          Returns string

    Returns ((a: Stream<any>) => string)

    a function displaying a list

      • (a): string
      • Parameters

        Returns string