Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/tests/nofib/real/reptile/Main.hs

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


-- LML original: Sandra Foubister, 1990
-- Haskell translation: Colin Runciman, May 1991

module Main(main) where

import Mgrfuns
import Progfuns
import Auxprogfuns
import Layout
import Tilefuns

main = do
    fromMgr <- getContents
    let
	  toMgr = setmode 7 ++
		  shapewindow [0,0,1150,900] ++
		  setup ++
		  potatotile ([],1,initalist) (lines fromMgr) ++
		  shapewindow [0,0,500,500] ++
		  font 8 ++
		  textreset ++
		  clear ++
		  func 15 
    putStr toMgr




Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.