arturo icon indicating copy to clipboard operation
arturo copied to clipboard

[Converters] resolving `from`/`to`/`as`/`in` clutter?

Open github-actions[bot] opened this issue 1 year ago • 0 comments

[Converters] resolving from/to/as/in clutter?

Right now, we have 4 different built-in function performing different-but-similar actions.

Is there any way to remove all ambiguity - by either reducing them, merging them, extending them or explaining their functionality more thoroughly?

https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/library/Converters.nim#L487

        echo "- Importing: Converters"

    # TODO(Converters) resolving `from`/`to`/`as`/`in` clutter?
    #  Right now, we have 4 different built-in function performing different-but-similar actions.
    #  Is there any way to remove all ambiguity - by either reducing them, merging them, extending them or explaining their functionality more thoroughly?
    #  labels: library, enhancement, open discussion, documentation

    builtin "array",
        alias       = at, 
        rule        = PrefixPrecedence,
ndex 64006dbd3..088be083a 100644
++ b/src/library/Core.nim

921cd782ca535637f994e24c84f4d08f26e77ba4

github-actions[bot] avatar Aug 03 '22 11:08 github-actions[bot]