leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: lean4

Topic: Interpret ByteArray as a String


cognivore (Jul 13 2022 at 21:08):

Does anyone knows how to tell Lean "extract all the Utf-8-encoded Unicode into a String from a ByteArray"? I know I could, in principle, roll my own with a fold, but I really don't want to :D

Sebastian Ullrich (Jul 13 2022 at 21:13):

docs4#String.fromUTF8Unchecked


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll