Module: internal Author: Jonathan Bachrach Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc. All rights reserved. License: Functional Objects Library Public License Version 1.0 Dual-license: GNU Lesser General Public License Warranty: Distributed WITHOUT WARRANTY OF ANY KIND // BOOTED: define ... class ... end; define sealed inline method as (class == , string :: ) => (result :: ) make(, name: as(, string)) end method as; define sealed inline method as (class == , symbol :: ) => (result :: ) symbol.symbol-name end method; define sealed inline method as (class == , symbol :: ) => (result :: ) as(, symbol); end method as; define sealed inline method \= (symbol-1 :: , symbol-2 :: ) => (well? :: ) as(, symbol-1) = as(, symbol-2) end method \=; define sealed inline method \< (symbol-1 :: , symbol-2 :: ) => (well? :: ) as(, symbol-1) < as(, symbol-2) end method \<; define inline function as-keyword (x) as(, x) end function; define inline function keyword? (x) instance?(x, ) end function; // eof