title: Instance read Haskell
body: <p>I need to implement a read instance of the data type</p>
  
  <pre><code>data GameAction = GameAction (Int, Int) deriving (Eq)
  </code></pre>
  
  <p>I did this</p>
  
  <pre><code>instance Read GameAction where
    readProc (x:xs:_) = setGA (read x) (read xs)
  </code></pre>
  
  <p>But i get the error </p>
  
  <pre><code>`readProc' is not a (visible) method of class `Read'
  </code></pre>
  
  <p>any idea??</p>