3 kyu
Isomorphism
785 of 920lolisa
Description:
We will walk through the definition of isomorphism and define some common isomorphisms. It is closely related to bijection (see https://en.wikipedia.org/wiki/Bijection).
This kata possibly unlocks: Algebraic Isomorphism, Peano And Church.
Note: this kata is significantly easier in Haskell and PureScript than in any other language. We won't reply at complaints for other languages unless you have completed it in Haskell and/or PureScript.
P.S. The tests are CORRECT. There are some easy-to-make mistakes (see the discussion area). Please figure out how to solve this yourself.
Detailed instructions are written in the comments of the initial solution.
If you are stuck then you can try to look at Bijection for intuition.
Functional Programming
Fundamentals
Similar Kata:
Stats:
Created | May 22, 2017 |
Published | May 22, 2017 |
Warriors Trained | 4218 |
Total Skips | 669 |
Total Code Submissions | 22694 |
Total Times Completed | 920 |
Haskell Completions | 785 |
Scala Completions | 53 |
PureScript Completions | 12 |
Rust Completions | 19 |
Total Stars | 184 |
% of votes with a positive feedback rating | 87% of 258 |
Total "Very Satisfied" Votes | 204 |
Total "Somewhat Satisfied" Votes | 41 |
Total "Not Satisfied" Votes | 13 |
Total Rank Assessments | 7 |
Average Assessed Rank | 3 kyu |
Highest Assessed Rank | 3 kyu |
Lowest Assessed Rank | 4 kyu |