Skip to content
Permalink
0.1
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
15 lines (14 sloc) 266 Bytes
# test file read with using block
import io
path := "../tests/files/abc.in"
r := using open_stream(path, binary_read_mode) as s -> error_list? {
for value in read(s) {
match(value)
data {
print(data)
} | errors {
return errors
}
}
return nil
}