on 492ae2f help sign in
36 lines 557 B history raw
1### `++tuba`
3UTF8 to UTF32 tape
5Convert `++tape` to a `++list` of codepoints (`@c`).
7Accepts
8-------
10`a` is a `++tape`.
12Produces
13--------
15A `++list` of codepoints `@c`.
17Source
18------
20 ++ tuba :: utf8 to utf32 tape
21 |= a/tape
22 ^- (list @c)
23 (rip 5 (turf (rap 3 a))) :: XX horrible
24 ::
26Examples
27--------
29 /~zod/try=> (tuba "я тут")
30 ~[~-~44f. ~-. ~-~442. ~-~443. ~-~442.]
31 /~zod/try=> (tuba "chars")
32 ~[~-c ~-h ~-a ~-r ~-s]
36***