<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Lawrence,</p>
    <p>it seems that you are trying to print your defined function. Most
      likely you just forgot to apply an argument to fswp. So 'fswp
      (1,2)' should just work fine.</p>
    <p>Cheers,</p>
    <p>Tobias<br>
    </p>
    <div class="moz-cite-prefix">On 9/9/21 11:25 PM, Galaxy Being wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFAhFSVXqqo9SuRrO9VQKQ7_40get2q8WBYB8TsSBDNAomyWcg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I've got this
        <div><br>
        </div>
        <div><font face="monospace">import Data.Tuple<br>
          </font></div>
        <div><font face="monospace">fswp :: (a, b) -> (b, a)<br>
            fswp = Data.Tuple.swap<br>
          </font></div>
        <div><br>
        </div>
        <div>and get this </div>
        <div><br>
        </div>
        <div> <font face="monospace">• No instance for (Show ((a0, b0)
            -> (b0, a0)))<br>
                    arising from a use of ‘print’<br>
                    (maybe you haven't applied a function to enough
            arguments?)<br>
                • In a stmt of an interactive GHCi command: print it</font><br>
        </div>
        <div><br>
        </div>
        <div>Not sure why or what to do to correct it.</div>
        <div><br clear="all">
          <div>⨽<br>
          </div>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr">Lawrence Bottorff
              <div>Grand Marais, MN, USA</div>
              <div><a href="mailto:borgauf@gmail.com" target="_blank"
                  moz-do-not-send="true">borgauf@gmail.com</a></div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a>
</pre>
    </blockquote>
  </body>
</html>