For Programmers: Free Programming Magazines  


Home > Archive > Prolog > March 2005 > Re: List cons functor (was Re: The meaning of module overriding syntax mod:goal in di









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: List cons functor (was Re: The meaning of module overriding syntax mod:goal in di
Brian Hulley

2005-03-04, 4:00 pm


Bart Demoen wrote:
> What is so nice about the dot ?


It already comes with a popular semiotic due to its use in
www.google.com, comp.lang.prolog, readme.txt etc

A very small change that would be useful would simply be to allow the
dot to appear in atoms without having to quote the atom ie so that you
could write a.b.c instead of 'a.b.c'

This would not break existing code (as long as existing code doesn't
use the dot as an infix operator) and would not cause anymore parse
problems than floating point numbers (whose format is also fixed by its
universal use in other programming languages)

Brian.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com