I've got this

import Data.Tuple
fswp :: (a, b) -> (b, a)
fswp = Data.Tuple.swap

and get this 

 • No instance for (Show ((a0, b0) -> (b0, a0)))
        arising from a use of ‘print’
        (maybe you haven't applied a function to enough arguments?)
    • In a stmt of an interactive GHCi command: print it


Not sure why or what to do to correct it.


Lawrence Bottorff
Grand Marais, MN, USA
borgauf@gmail.com