Skip to content

Instantly share code, notes, and snippets.

@Avaq
Avaq / combinators.js
Last active September 26, 2024 18:53
Common combinators in JavaScript
const I = x => x
const K = x => y => x
const A = f => x => f (x)
const T = x => f => f (x)
const W = f => x => f (x) (x)
const C = f => y => x => f (x) (y)
const B = f => g => x => f (g (x))
const S = f => g => x => f (x) (g (x))
const S_ = f => g => x => f (g (x)) (x)
const S2 = f => g => h => x => f (g (x)) (h (x))
@captn3m0
captn3m0 / reading197.md
Last active November 29, 2017 22:32
Reading Books from Every Country

Source: https://en-gb.facebook.com/reading197countries/posts/1791872417733369

Will You Be Willing to Provide Me A Helping Hand?

Hi,

I am Aisha Arif Esbhani, a 13 year old based in Karachi, Pakistan.

After discovering that most of the books I read as a preschooler, as an adolescent, were by a British or North American author, I wanted to explore the writers of the African continent and the tiny islands in Asia. I wanted to explore the nations of which I had never read any books. I wanted to explore stories that had been translated into English. >