<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">Hi,<br><br>I've defined the datatype:<br><br>data Graph a b = Empty | Context a b :&amp; Graph a b<br><br> and the function<br><br>&nbsp;isEmpty &nbsp;&nbsp;&nbsp; :: Graph a b -&gt; Bool<br>&nbsp;isEmpty Empty = True<br>&nbsp;isEmpty _&nbsp;&nbsp;&nbsp;&nbsp; = False<br><br>and when I do a test run with the graph,  <br>( [ ],2,'c',[("down",3)]) :&amp; Empty<br><br>Haskell is bringing the message "&nbsp; Not in scope: data constructor `:&amp;' "<br>Why is that so?<br><div>&nbsp;</div><br><div>&nbsp;</div><span style="font-weight: bold; color: rgb(0, 64, 127);"><span style="font-style: italic;">Kind regards</span></span></div><br>



      </body></html>