2019-04-26 00:02:19 +03:00
|
|
|
module Main where
|
|
|
|
|
|
|
|
import ClassyPrelude
|
|
|
|
import Control.Lens
|
2019-05-21 02:04:28 +03:00
|
|
|
import Data.Noun.Pill hiding (main)
|
2019-04-26 00:02:19 +03:00
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
main :: IO ()
|
2019-05-21 02:04:28 +03:00
|
|
|
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
|