[HN Gopher] Tictactoe in PyFL, my experimental functional language
       ___________________________________________________________________
        
       Tictactoe in PyFL, my experimental functional language
        
       Author : herodotus
       Score  : 18 points
       Date   : 2021-12-11 15:34 UTC (7 hours ago)
        
 (HTM) web link (billwadge.wordpress.com)
 (TXT) w3m dump (billwadge.wordpress.com)
        
       | cabalamat wrote:
       | What does 'fby' mean?
        
         | jamespwilliams wrote:
         | I _think_ (but unsure) that it should be read "followed by",
         | and only makes sense in the context of a while loop, where `x =
         | y fby z` means that x will take the value of y on the first
         | iteration and z on subsequent iterations.
        
           | bade wrote:
           | You're right, the name was borrowed from Lucid, where it is a
           | proper operator on streams.
        
       | detaro wrote:
       | side note: Tic-Tac-Toe you can reasonably just brute-force all
       | possible games to check if something plays perfect or not.
        
         | bade wrote:
         | I know, the point was to exercise the various PyFL features.
        
           | [deleted]
        
         | armanboyaci wrote:
         | Actually, the first moves of the players determines the result.
         | And because of the symetries there are just 12 first moves.
         | 
         | My tweets about this topic:
         | https://twitter.com/arman_boyaci/status/1442436923960827913?...
        
       ___________________________________________________________________
       (page generated 2021-12-11 23:00 UTC)