in reply to Re: RFC: Export tags for builtin pragma
in thread RFC: Export tags for builtin pragma

G'day choroba,

++ Thanks for the feedback.

None of those tag names are set in stone. I'm certainly open to suggestions for alternatives.

For your point 1, maybe:

For point 2, I wasn't entirely sold on :round myself but couldn't think of anything better. Perhaps await suggestions from others.

— Ken

  • Comment on Re^2: RFC: Export tags for builtin pragma

Replies are listed 'Best First'.
Re^3: RFC: Export tags for builtin pragma
by swl (Prior) on Oct 19, 2023 at 20:42 UTC

    Maybe :numeric instead of :round? That provides some future proofing in the event functions like looks_like_number are added at a later date.

    Although maybe that causes issues as then different module versions would load different subs.

      G'day swl,

      ++ Thanks for your suggestion.

      If builtin::round were added, I think that would still be suitable for :round. If builtin::looks_like_number were added, that might go in :numeric; however, perhaps :string would be better (and could include built::trim).

      I feel like I've opened a can of worms and they're all escaping in different directions.
      🥫 🪱 ↖️ 🪱 ↗️ 🪱 ↘️ 🪱 ↙️

      — Ken