shrub/pkg/hs-vere/app/uterm/Main.hs

28 lines
544 B
Haskell
Raw Normal View History

2019-04-26 00:02:19 +03:00
module Main where
import ClassyPrelude
import Control.Lens
import Data.Noun.Pill hiding (main)
2019-04-26 00:02:19 +03:00
--------------------------------------------------------------------------------
main :: IO ()
main = do
print "load brass" >> void getLine
tryLoadPill Brass
print "load ivory" >> void getLine
tryLoadPill Ivory
print "load solid" >> void getLine
tryLoadPill Solid
print "cue brass" >> void getLine
tryCuePill Brass
print "cue ivory" >> void getLine
tryCuePill Ivory
print "cue solid" >> void getLine
tryCuePill Solid