Oldes / Rebol-wishes

Repository for keeping Rebol related wishes out of issues
0 stars 0 forks source link

Wish: more useful `skip` with a `percent!` as an amount argument #41

Open Oldes opened 2 years ago

Oldes commented 2 years ago

Currently:

>> skip "abcd" 50%
== "abcd"
>> skip "abcd" 200%
== "cd"

I think it would be more cool to have the percent argument work like:

>> n: "abcd" skip n (50% * length? head n)
== "cd"