mirror of
https://github.com/urbit/developers.urbit.org.git
synced 2024-10-27 00:00:10 +03:00
Update text-overview.md
This commit is contained in:
parent
56d613c125
commit
7455caa0b0
@ -16,7 +16,7 @@ image = "https://media.urbit.org/site/posts/essays/blog-text-bottles.png"
|
|||||||
|
|
||||||
[Text strings](https://en.wikipedia.org/wiki/String_%28computer_science%29%) are sequences of characters. At one level, the file containing code is itself a string—at a more fine-grained level, we take strings to mean either byte sequences obtained from literals (like `'Hello Mars'`) or from external APIs. This blog post will expand on [existing docs](https://developers.urbit.org/guides/additional/strings) to explain what is going on with text in various corners of Hoon.
|
[Text strings](https://en.wikipedia.org/wiki/String_%28computer_science%29%) are sequences of characters. At one level, the file containing code is itself a string—at a more fine-grained level, we take strings to mean either byte sequences obtained from literals (like `'Hello Mars'`) or from external APIs. This blog post will expand on [existing docs](https://developers.urbit.org/guides/additional/strings) to explain what is going on with text in various corners of Hoon.
|
||||||
|
|
||||||
Setting aside [literal syntax](TODO), Urbit distinguishes quite a few text representation types:
|
Setting aside [literal syntax](https://developers.urbit.org/blog/literals), Urbit distinguishes quite a few text representation types:
|
||||||
|
|
||||||
1. `cord`s (`@t`, [LSB](https://en.wikipedia.org/wiki/Bit_numbering#Least_significant_byte))
|
1. `cord`s (`@t`, [LSB](https://en.wikipedia.org/wiki/Bit_numbering#Least_significant_byte))
|
||||||
2. `knot`s (`@ta`)
|
2. `knot`s (`@ta`)
|
||||||
|
Loading…
Reference in New Issue
Block a user