How to create a function that graphs objects in haskell in Haskell

127 Views Asked by At

How to Format ► put returns between paragraphs

► for linebreak add 2 spaces at end

italic or bold

► indent code by 4 spaces

1

There are 1 best solutions below

0
Thomas M. DuBuisson On
graphicToPic (s c p) = ...

This is nonsense. You should use the constructor to destruct the value:

graphicToPic (Graphic s c p) = ...