https://github.com/vendethiel/symbolreduce.rb
Cursed symbol reduce for cool-looking `:+ / [1, 2, 3]` or `:* / [1, 2, 4]`
https://github.com/vendethiel/symbolreduce.rb
array ruby
Last synced: 12 months ago
JSON representation
Cursed symbol reduce for cool-looking `:+ / [1, 2, 3]` or `:* / [1, 2, 4]`
- Host: GitHub
- URL: https://github.com/vendethiel/symbolreduce.rb
- Owner: vendethiel
- Created: 2023-12-20T13:11:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-20T13:37:39.000Z (over 2 years ago)
- Last Synced: 2025-06-12T13:47:51.931Z (about 1 year ago)
- Topics: array, ruby
- Language: Ruby
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SymbolReduce
Cursed symbol reduce for cool-looking reduces:
```ruby
:+ / [1, 2, 3] #=> 6
# or
:* / [1, 2, 4] #=> 8
```