Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

MOPT-02 - substitution and formal systems

by mstone (Deacon)
on Dec 16, 2002 at 21:16 UTC ( #220362=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        { 'c', 'i', 'o', 'p' }
    
  2. or download this
        S   ->  Sp
        op  ->  i
    ...
        oc  ->  io
        ic  ->  co
        cS  ->  ioS
    
  3. or download this
        $S = 'o';
        
    ...
            @out = map { sprintf ("%6s", $_) } @processing;
            printf ("%-44s == %6s\n", join (" ->", @out), $S);
        }
    
  4. or download this
            op ->     i                              ==      i
            ip ->     c ->    io                     ==     io
    ...
         iioip ->  iioc ->  iiio                     ==   iiio
         iiiop ->  iiii                              ==   iiii
         iiiip ->  iiic ->  iico ->  icoo -> ioooo   ==  ioooo
    
  5. or download this
        $S = 'opppppppp';               # (S  -> Sp) x 8
        
    ...
            @out = map { sprintf ("%9s", $_) } @processing;
            print join (" ->", @out), "\n";
        }
    
  6. or download this
        opppppppp -> ippppppp ->  cpppppp -> iopppppp
         iopppppp ->  iippppp ->   icpppp ->  ioopppp
          ioopppp ->   ioippp ->    iocpp ->    iiopp
            iiopp ->     iiip ->      iic ->      ico ->     iooo
    
  7. or download this
        8   ->  iooo
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://220362]
Approved by adrianh
Front-paged by Tanalis
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (22)
As of 2015-07-07 15:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (91 votes), past polls