at works with strings

This commit is contained in:
Scott Richmond 2024-06-24 12:56:43 -04:00
parent 492c954655
commit faf15bfd75

View File

@ -663,7 +663,7 @@ fn at {
when {
nil? (raw) -> nil
gte? (raw, 128) -> panic! "not an ASCII char"
true -> raw
true -> base :str_slice (str, n, inc (n))
}
}
(_) -> nil