Skip to content

Commit 2576446

Browse files
committed
Add more questions and an exercise on cardinality
1 parent 5ed5944 commit 2576446

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

backend/middle-1/haskell.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* Functors
66
* What is covariance and contravariance in the context of functors and category theory?
77
* What are the negative and positive positions?
8-
* Is it possible to make a covariant functor into contravariant or back?
98
* What types can be both covariant functors and contravariant?
109
* What are invariant functors?
1110
* Contrafunctor (Contravariant functor)
@@ -49,7 +48,13 @@
4948

5049
## Types
5150

52-
* What is a cardinality?
51+
* What is cardinality?
52+
* What is the notion of isomorphism when we are talking about types?
53+
* Should isomorphic types have the same cardinality?
54+
55+
#### Exercises
56+
57+
* [Kata - isomorphism](https://www.codewars.com/kata/isomorphism)
5358

5459
#### Resources
5560

0 commit comments

Comments
 (0)