title: How to switch the type of an item in my type signature?
body: <p>I'm sorry if my vernacular is wrong here. I'm very new to coding.</p>
  <p>I have created two records. I want my program to take in these two records. However, in the type signature both of the items are classified as the second record. I'm not sure how heavily this is impacting the program, but it's beginning to throw more errors due to this problem.</p>
  <p>I've tried changing the orders around but I've never encountered a problem like this so I'm kind of at a loss. Is there a way to manually put in what I want the types of the type signature to be?</p>
  <pre><code>type lecture = {
    lecture: string,
    day: string,
    time: list(int),
    priority: int,
  };
  
  type workweek = {
    day: string,
    time: list(int),
    priority: int,
  };
  
  let schedSorter = (lecture, workweek) =&gt;
    if (lecture.time == workweek.time) {
      switch (lecture.priority, workweek.priority)
  </code></pre>