arturo-lang / arturo

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

Allow conversion from Binary to String #1737

Closed Eloitor closed 1 month ago

Eloitor commented 1 month ago

Description

Fix this

$> to :string to :binary "Hello world!"

══╡ Conversion Error ╞═══════════════════════════════════════════════════════════════════════════════════ <repl> ══

  Problem when converting value to given type

  Got value:
      [ :binary
              48 65 6C 6C 6F 20 77 6F 72 6C 64 21 
      ]

  Conversion to given type is not supported:
      :string

Type of change

drkameleon commented 1 month ago

Ready to merge! 🚀