News for hackers. Stuff that matters.
Re:What the heck is a homomorphic mapped type? by holden_nelson on Monday January 08, 2024 @01:01AM (#38908772)
> where that last ‘+’ is addition mod 5

It can just be integer addition. 2 + 4 = 6 = 1 mod 5 is a true statement.

Re:What the heck is a homomorphic mapped type? by wging on Monday January 08, 2024 @12:06PM (#38914954)
If we're talking homomorphisms, no it can't: the whole point of the homomorphism is that the addition operation works regardless of whether you do it in the source space (2 + 4 = 6, then reduce mod 5) or the target space, where you're dealing with entirely different objects (2 mod 5 added to 4 mod 5, where each of these is an object in the target space and not an ordinary integer).