On 01/05/2012, at 5:19 AM, john skaller wrote:
> I have been playing with the new naming system.
Guess I got lost and left out the important bit:
typedef int metres;
typedef int feet;
fun f(metres);
fun f(feet);
Ambiguous. Structural type name irrelevant.
A solution:
struct metres { int data; };
fun f(metres);
works but destroys performance .. as well a compatibility with C functions.
Hmmm....
--
john skaller
[email protected]
http://felix-lang.org
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language