prime v0.1.0
prime
A basic implementation of a prime number generator.
Installation
-
Add the dependency to your
shard.yml
:dependencies: prime: github: wontruefree/prime
Usage
require "prime"
primes = [] of Int32
Prime.each do |p|
break if p > 541
primes << p
end
Contributing
- Fork it (https://github.com/your-github-user/prime/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Jack Thorne - creator and maintainer
Repository
prime
Owner
Statistic
- 1
- 0
- 0
- 0
- 0
- over 4 years ago
- February 25, 2020
License
GNU Lesser General Public License v3.0
Links
Synced at
Sun, 17 Nov 2024 14:28:36 GMT
Languages