forked from AbleScript/ablescript
sync
This commit is contained in:
parent
dc8f72bcf7
commit
d7725b0db7
|
@ -578,6 +578,7 @@ impl ops::Div for Value {
|
||||||
.collect(),
|
.collect(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Functio::Chain { .. } => todo!(":P"),
|
||||||
Functio::Eval(s) => {
|
Functio::Eval(s) => {
|
||||||
let len = s.len();
|
let len = s.len();
|
||||||
Functio::Eval(s.chars().take((len as f64 * fraction) as usize).collect())
|
Functio::Eval(s.chars().take((len as f64 * fraction) as usize).collect())
|
||||||
|
|
Loading…
Reference in a new issue