Results 11 issues of Yorkin

This pr needs the cooperation of compiler, as FixedArray is a built-in type.

fix #291 - rename `Bytes::to_string` to `Bytes::to_unchecked_string` - Change the behavior of Bytes::to_string to output bytes array `Bytes::[1,2,3]` > We should add bytes literal syntax, e.g, b"xx.." and use make...

- add `to_unchecked_string` `sub_unchecked_string` to Bytes - deprecate `Bytes::to_string` `Bytes::sub_string`

This code will crash: ``` fn init { let a = from_int(-1) println(a.to_string()) } ``` The `Char::from_int` is a primitive `%char_from_int`, which is an unsafe `%identity`. ``` pub fn Char::from_int(val...

- `nth_exn` `nth` `head` `head_exn` `last`

- ArrayView::iter - Do we need `fold_left` `fold_right` and `each` for ArrayView? A real world example: ``` pub fn separate(sep : Document, docs : Array[Document]) -> Document { let cat_by_sep...

good first issue
enhancement

- [x] Char - to_uint : `char.to_uint()` is equivalent to `char.to_int().reinterpret_as_uint()` - [x] Byte - to_uint64 - to_double - [ ] Int64 - to_uint - [x] Move UInt::to_byte to builtin...

consistency review

https://github.com/moonbitlang/core/blob/85ab5cfbd5e93be37e601ad79d18594383741852/immut/list/list.mbt#L227

remove some deprecated function: - fold_left, fold_right, fold_lefti, fold_righti, ... - `List::concat_map`, `Ref::ref`, `Iter::tap` - pop_exn, head_exn, nth_exn, ... - some util function in test package