1

In OCaml's tuareg mode, I cat't see the execution result if the result is big as below.

# function ();;
- : tree_t =
Node (Node (Node (Node (Node (Node (Node
             (Node (Node (Node (Empty, 1, Empty), 2, Empty), 3,
      ...), 
    ...),
  ...))

I cat't see the execution result because some parts are showed by "...". How can I see all result on buffer in OCaml's tuareg mode?

mmsss
  • 263
  • 1
  • 2
  • 7

1 Answers1

1

Use print_depth and print_length directives to increase the amount of printed data, e.g.,

# #print_depth 100500;;
ivg
  • 34,431
  • 2
  • 35
  • 63