home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 117,042 of 117,927   
   Paul Rubin to All   
   namespace collisions   
   01 Feb 25 16:29:43   
   
   From: no.email@nospam.invalid   
      
   In Haskell, if you import packages X and Y, and X contains a symbol   
   "foo", you can refer to it as just "foo" or explicitly as X.foo.   
      
   If both X and Y contain foo, then saying just "foo" is ambiguous and the   
   compiler flags it as an error.  You are required to say X.foo or Y.foo   
   to indicate which one you want.   
      
   Is there a simple way to do something like that in Forth, to get an   
   error or at least a warning, if the same symbol occurs in multiple   
   wordlists in the search order?   
      
   Thanks.   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca