[Cuis-dev] What is the meaning of "::" in code examples ?

Stephen Travis Pope stephen at heaveneverywhere.com
Thu Mar 9 08:20:43 PST 2023


Oh, I get it, never mind…

stp

--------

Stephen Travis Pope    Ojai, California, USA
    
     http://HeavenEverywhere.com
     http://FASTLabInc.com
     https://vimeo.com/user19434036/videos
     http://heaveneverywhere.com/Reflections



> On Mar 9, 2023, at 8:15 AM, Jon Hylands via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
> 
> According to this page:
> 
> https://cuis-smalltalk.github.io/TheCuisBook/Summary-of-Syntax.html
> 
> Double-colon sends the message to the result of the previous expression. I would guess that would make it functionally equivalent to putting the previous expression in parens.
> 
> So:
> 
> lay1 beRow :: borderWidth: 1 :: borderColor: (Color black) .
> 
> would be the same as:
> 
> ((lay1 beRow) borderWidth: 1) borderColor: (Color black) .
> 
> Unless I'm missing something...
> 
> - Jon
> 
> 
> On Thu, 9 Mar 2023 at 11:08, Alexandre Rousseau via Cuis-dev <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
>> For example. per https://github.com/nmingotti/The-Cuis-CookBook/wiki/Introduction-to-morphs-Layout , I see this code:
>> 
>> lay1 beRow :: borderWidth: 1 :: borderColor: (Color black) .
>> 
>> I am assuming it is the same as ";" but cannot find documentation to this effect.
>> 
>> -- 
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
> -- 
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230309/1650406a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic.tiff
Type: image/tiff
Size: 2442 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230309/1650406a/attachment-0001.tiff>


More information about the Cuis-dev mailing list