packages feed

purescript-0.7.2.0: examples/passing/ImportHiding.purs

module Main where

import Control.Monad.Eff.Console
import Prelude hiding (
  show, -- a value
  Show, -- a type class
  Unit(..)  -- a constructor
  )

show = 1.0

class Show a where
  noshow :: a -> a

data Unit = X | Y

main = do
  print show