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
Numerically,

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

or

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.

Alfred.

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.