[plt-scheme] %, @, ^, etc.

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Sep 8 17:06:47 EDT 2003

At Sun, 7 Sep 2003 08:00:49 -0400, Geoffrey Knauth wrote:
> Every so often I see %, @, and ^ at the end of procedure, variable or 
> module names.  Is there a place where the conventions on their use is 
> listed?

Might as well include the two most popular suffixes:

 %    =>  class
 <%>  =>  interface
 @    =>  unit, especially a signed unit
 ^    =>  unit signature 
 ?    =>  boolean
 !    =>  procedure with a side effect other than I/O
          (but not a method, because too many methods have
           side effects to make the convention useful)


Any more?

Matthew



Posted on the users mailing list.