Il 25/09/2012 23:54, Rick Flower ha scritto:
> 
> someMethod
> 
>  ^#(
>  ('foo' someClassName)
>  ('bar' someOtherClassName)
> ...
> )
> 
> Any suggestions on what this might translate to in GST?

It's an array of arrays.  In GST you need to prefix symbols with # always:

  ^#(
  ('foo' #someClassName)
  ('bar' #someOtherClassName)
 ...
 )

Otherwise true/false/nil would conflict.

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to