Object assignment and equivalence

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Object assignment and equivalence

Alfred Matthews

wondering if there are design implications to or via defining integers (1,12) as

let mod(1)=0, 0<x<=12

as opposed to 

let mod(1):=0, 0<x<=12


0<x<=12, let mod(1)==0

I think I mean mathematically, since none are anything more than Haskell pseudocode.

Possibly this makes only metaphorical sense.

Thanks in advance.


Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
Only members subscribed via the mailman list are allowed to post.