home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / forth / compiler / fpc / source / p2_8bs.seq < prev    next >
Text File  |  1990-03-29  |  253b  |  18 lines

  1. \ Comp 462
  2. \ Balraj Sidhu   Set: 14D4
  3. \ Date: March 29, 1990
  4. \ Problem 2.8 - Part c
  5.  
  6. : spin ( a b c -- c b a )
  7.         swap rot ;
  8.  
  9. : hatch ( a b c -- a b b c )
  10.         over swap ;
  11.  
  12. : shove ( a b c -- c a b c )
  13.         -rot 2 pick ;
  14.  
  15.  
  16.  
  17.  
  18.