From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
12345678 #!/usr/bin/ruby### https://rosettacode.org/wiki/Catamorphism#say (1..10 -> reduce('+'));say (1..10 -> reduce{|a,b| a + b});
#!/usr/bin/ruby
#
## https://rosettacode.org/wiki/Catamorphism
say (1..10 -> reduce('+'));
say (1..10 -> reduce{|a,b| a + b});