• Helper function for converting splay trees to string representation

    Parameters

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

      a function that displays a single element

        • (a): string
        • Parameters

          • a: any

          Returns string

    Returns ((tree: SplayTree<any>) => string)

    a function displaying a finger tree

      • (tree): string
      • Parameters

        Returns string