module CurrentLoc:State_builder.Refwith type data = location
A reference to the current location. If you are careful to set this to the current location then you can use some built-in logging functions that will print the location.
include State_builder.S
type data
Type of the referenced value.
val set : data -> unitChange the referenced value.
val get : unit -> dataGet the referenced value.
val clear : unit -> unitReset the reference to its default value.