title: How print functions in Haskell like a python or scala?
body: <p>I try to print functions in Haskell only for fun, like this example:</p>
  
  <pre><code>{-# LANGUAGE FlexibleInstances #-}
  
  instance Show (Int -&gt; Bool) where
      show _ = "function: Int -&gt; Bool"
  </code></pre>
  
  <p>loading in GHCi and run and example:</p>
  
  <pre><code>λ&gt; :l foo
  [1 of 1] Compiling Main             ( foo.hs, interpreted )
  
  foo.hs:2:1: Warning: Unrecognised pragma
  Ok, modules loaded: Main.
  λ&gt; (==2) :: Int -&gt; Bool
  function: Int -&gt; Bool
  </code></pre>
  
  <p>But, I wish to see that every function print yourself at invocation.</p>