Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[ALLY] Datatype numbering and the Missing Datatypes Re:(3)

From: larry:ecotope at: 21-Sep-2000 21:49

Hi Carl Well, symbol! is not unset in the current builds, although context! is.
>> type? symbol!
== datatype!
>> a: make symbol! "abc" >> type? a
== symbol!
>> b: [a]
== [a]
>> b: reduce b
== []
>> length? b
== 1
>> type? first b
== symbol!
>> mold first b
== ""
>> to-word first b
== abc I have puzzled over both of these for some time. And Eric Long told me he stumbled on symbol! way back last fall. My guess about context! would be that it is the datatype associated with some kind of environment frame containing binding info for local variables (in other words, a symbol table). But I really don't know. How about a hint? BTW How about the numbers which appear as the second of an op! or action!.
>> type? :+
== op!
>> second :+
== 1 But a native! seems to have a second of none. Cheers -Larry