<div dir="ltr">I have a tuple with three values and i want to remove the tuple which contains a particular name. <div><br></div><div>So d = (name, month, date)</div><div> i take a user input of name and then search the list which has tuples of the above declared type. Which ever tuple has the name it should be deleted from the list.</div><div> </div><div>d is the tuple.</div><div>db should be a list of tuples.</div><div><br></div><div><br></div><div><div>remove :: (Eq) =>  IO String  -> d</div><div>print "Enter the name to be removed”</div><div>a <- getLine</div><div>      remove x [] = []</div><div>      print “Record not found”</div><div>      remove x db = </div><div>         if x == </div></div><div><br></div><div><br></div><div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Please let me know!</div><div><br></div><div>Thanks a lot</div><div><br></div></div></div></div></div></div>
</div></div>