hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit f97ee5c7a5c091685bd2484745c83009292be48f
parent f9fbd5e71d7bfe308d8f5432a8f72239625babd4
Author: Ajay R <ar324@disroot.org>
Date:   Fri,  6 May 2022 19:03:05 +0530

temp: update +freebsd.ha to use new hex module design

Signed-off-by: Ajay R <ar324@disroot.org>

Diffstat:
Mtemp/+freebsd.ha | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/temp/+freebsd.ha b/temp/+freebsd.ha @@ -94,7 +94,8 @@ export fn dir() str = { random::buffer(buf[..]); let sink = strio::fixed(name); - hex::encode(&sink, buf) as size; + const enc = hex::newencoder(&sink); + io::write(&enc, buf)!; let name = strio::string(&sink); static let buf = path::buffer { ... };