<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello, <br>
    <br>
    I have to find the center of 2 points as a assigment for a course on
    fpcomplete. This is no homework because I do a self-study.  <br>
    <br>
    So I did  this: <br>
    <br>
    center (x1,y1) (x2,y2) = ( ((x1+x2)/2),((y1+y2)/2) )<br>
    main = print $ center ((1,2), (3, 4))<br>
    <br>
    but now I see this error message : <br>
     <span class=".ide-help-icon"></span>
    <div class="ui-resizable" id="ide-interaction-panel" style="left:
      238px;">
      <div class="ide-interaction-tab" id="ide-interaction-messages"
        style="display: block;">Main.hs@2:8-2:13
        <ul id="ide-interaction-messages-list">
          <li class="ide-errors-list">
            <div class="ide-error">
              <div class="ide-error-msg">No instance for (Show (((t0,
                t1), (t2, t3)) -> ((t0, t1), (t2, t3)))) arising from
                a use of `print'
                Possible fix: add an instance declaration for (Show
                (((t0, t1), (t2, t3)) -> ((t0, t1), (t2, t3))))
                In the expression: print
                In the expression: print $ center ((1, 2), (3, 4))
                In an equation for `main': main = print $ center ((1,
                2), (3, 4))</div>
            </div>
          </li>
        </ul>
      </div>
    </div>
    Roelof<br>
    <br>
  </body>
</html>