SafeREPL.swapliterals!Function
SafeREPL.swapliterals!(Float64, Int, Int128, BigInt=nothing)

Specify transformations for literals: argument Float64 corresponds to literals of type Float64, etcetera.

A transformation can be

  • a Symbol, to refer to a function, e.g. :big;
  • nothing to not transform literals of this type;
  • a String specifying the name of a string macro, e.g. "@big_str", which will be applied to the input. Available only for Int128 and BigInt, and experimentally for Float64.