Advertisement
Guest User

Main.hs

a guest
Jan 15th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module Main where
  2.  
  3. import Lib
  4.  
  5. data ProductionEnvironment = ProductionEnvironment
  6.  
  7. instance Environment ProductionEnvironment where
  8.     getUserName _ = "Admin"
  9.     getUserAge _ = 30
  10.  
  11. main :: IO ()
  12. main = putStrLn . makeGreeting $ ProductionEnvironment
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement