mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Add functionality to turn RocDecs into strings.
This commit is contained in:
parent
a021c09752
commit
f2de6baa36
4 changed files with 33 additions and 14 deletions
|
@ -50,7 +50,7 @@ pub trait ReplAppMemory {
|
|||
|
||||
fn deref_dec(&self, addr: usize) -> RocDec {
|
||||
let bits = self.deref_i128(addr);
|
||||
return RocDec(bits);
|
||||
RocDec(bits)
|
||||
}
|
||||
|
||||
fn deref_str(&self, addr: usize) -> &str;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue