DEV Community

Discussion on: Hacktoberfest 2020 — Who's looking for contributors?

Collapse
 
richytong profile image
Richard Tong • Edited

Always looking for contributors for rubico! Lots of functions need implementations - you can find some good first issues here.

GitHub logo a-synchronous / rubico

[a]synchronous functional programming

rubico

rubico

a shallow river in northeastern Italy, just south of Ravenna


Node.js CI codecov

[a]synchronous functional programming

const { pipe, map, filter } = rubico
const isOdd = number => number % 2 == 1
const asyncSquare = async number => number ** 2
const squaredOdds = pipe([
  filter(isOdd),
  map(asyncSquare),
])

squaredOdds([1, 2, 3, 4, 5]).then(console.log) // [1, 9, 25]

A note from the author

At a certain point in my career, I grew frustrated with the entanglement of my own code. While looking for something better, I found functional programming. I was excited by the idea of functional composition, but disillusioned by the redundancy of effectful types. I started rubico to capitalize on the prior while rebuking the latter. Many iterations since then…