Skip to content

Instantly share code, notes, and snippets.

@bartosz-witkowski
Created August 17, 2016 22:31
Show Gist options
  • Save bartosz-witkowski/b2882450ff0e690f0e1a774dfefedecd to your computer and use it in GitHub Desktop.
Save bartosz-witkowski/b2882450ff0e690f0e1a774dfefedecd to your computer and use it in GitHub Desktop.
f: A -> B
a1 b_1,, b_2, b_3, ..., b_n // ord(B) constant functions
a2 a1 -> ord(B), a2 -> ord(B) // ord(B) constant functions // from the firs arg * ord(B) constant functions from the second arg
we can think of adding inhabitants of "input" arguments as having "another" as
having permutations (with repetition)
- where the ord(B) how many possibilities of "outcomes we have" and the amount
of inputs (ord(A)) determine how many times we "draw"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment