arturo-lang / arturo

Simple, expressive & portable programming language for efficient scripting
http://arturo-lang.io
MIT License
684 stars 31 forks source link

[Strings\alphabet] Should we move it to the Sets module? #630

Open github-actions[bot] opened 1 year ago

github-actions[bot] commented 1 year ago

[Strings\alphabet] Should we move it to the Sets module?

yes, strings are composed by characters which - together - form an alphabet.

But what does this function return, if it's not a Set?

https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/library/Strings.nim#L63

        echo "- Importing: Strings"

    # TODO(Strings\alphabet) Should we move it to the Sets module?
    #  yes, strings are composed by characters which - together - form an alphabet.
    #  But what does this function return, if it's not a Set?
    #  labels: library, enhancement, cleanup, open discussion
    builtin "alphabet",
        alias       = unaliased, 
        rule        = PrefixPrecedence,
ndex 7fd5316ac..509b1c992 100644
++ b/src/library/System.nim

1d455ab2bd62c8dd0d2c7f28b4da93a289f0c93f

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 12 months ago

Closing issue as stale.

stale[bot] commented 7 months ago

Closing issue as stale.