Open byorgey opened 5 years ago
Once we have Prop
(#217) and the ability to specify qualified polymorphic types (#179) we can put these in a library.
Critical since we really need these in order for containers to work properly.
Meh, downgrading to 'moderate' importance. From a theoretical point of view, yes, this is important to get reduce
to behave correctly. But at this point it's not something students will ever really run into.
Another possibility would be to just have these as built in primitives; but I don't like that because I want students to know the definition of these properties, and being able to actually see the definition instead of having them work by built-in magic would reinforce that.
Still blocked on #179 .
Associative, commutative, idempotent, identity etc. These can be referenced in properties, and then in order to typecheck applications of
reduce
we can look for them somehow?