<div dir="ltr">How would I make the <font face="courier new, monospace">Up</font> constructor private in the following module? (Just Up, but not Down)<div><br></div><div><font face="courier new, monospace">module Movement where</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">data Direction where</font></div><div><font face="courier new, monospace"> Up : Direction</font></div><div><font face="courier new, monospace"> Down : Direction</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">I know there is a "private" annotation, but I'm not sure where to put it for ADTs. Also, is "private" the primary way to mark what gets exported and what does not? (i.e. is the Haskell way of doing things totally done away with?)</font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Thank you!</font></div><div><font face="arial, helvetica, sans-serif">Evan</font></div></div>