https://github.com/armandris/star_scan
A multi-threaded scanning function implemented using the BEAM VM with Gleam
https://github.com/armandris/star_scan
Last synced: 2 months ago
JSON representation
A multi-threaded scanning function implemented using the BEAM VM with Gleam
- Host: GitHub
- URL: https://github.com/armandris/star_scan
- Owner: ArmanDris
- Created: 2025-02-26T19:44:50.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-06T07:09:21.000Z (3 months ago)
- Last Synced: 2025-03-06T08:23:24.506Z (3 months ago)
- Language: Gleam
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# star_scan
A multi-threaded scanning function implemented using the [BEAM VM](https://en.wikipedia.org/wiki/BEAM_(Erlang_virtual_machine)) with [Gleam](https://gleam.run/).
[](https://hex.pm/packages/star_scan)
[](https://hexdocs.pm/star_scan/)```sh
gleam add star_scan@1
```
```gleam
import star_scanpub fn main() {
let errors = [5, 1, 10, 6]
let running_total_errors = star_scan(errors)
io.println("Running total:")
io.println(string.join(running_total_errors), ", ")
// -> 5, 6, 16, 22
}
```Further documentation can be found at .
## Development
```sh
gleam run # Run the project
gleam test # Run the tests
```