user6268: In week02 Iteration 3 there is a function that has (). What is the purpose of that? Is it so that the function can't be used maliciously?
mkValidator :: Data -> Data -> Data -> () 

user-1: It performs the same kind of utility as void in other programming languages.  It's a unit and is a way of saying that the function doesn't return any value.

6268: <p>In week02 Iteration 3 there is a function that has (). What is the purpose of that? Is it so that the function can't be used maliciously?</p>
<p><code>mkValidator :: Data -&gt; Data -&gt; Data -&gt; () </code></p>
 -1: <p>It performs the same kind of utility as void in other programming languages.  It's a unit and is a way of saying that the function doesn't return any value.</p>
