title: wireworld haskell help needed
body: <p>i am required to make a wireworld move and i want to put a function inside another function("help1") but i can't get it to work, there are multiple files 
  here is what i have </p>
  
  <pre><code>module Transitions.For_List_2D (
     transition_world -- :: List_2D Cell -&gt; List_2D Cell
  ) where
  
  import Data.Cell (Cell)
  import Data.Cell (Cell (Head, Tail, Conductor, Empty))
  import Data.Coordinates
  import Data.Coordinates (Distance,X_Coord,Y_Coord,Coord,Element_w_Coord,)
  import Data.List_2D
  -- Replace this function with something more meaningful:
  
  transition_world :: List_2D Cell -&gt; List_2D Cell
  transition_world w = case w of 
                         [] -&gt; []
                         x:xs -&gt; transition_cell x : transition_world xs
  
  
  transition_cell :: Element_w_Coord Cell -&gt; Element_w_Coord Cell
  transition_cell a  = case a of 
                          (Head,(x_coord,y_coord)) -&gt; (Tail, (x_coord,y_coord))
                          (Tail,(x_coord,y_coord)) -&gt; (Conductor, (x_coord,y_coord))
                          (Empty,(x_coord,y_coord))-&gt; (Empty, (x_coord, y_coord))
                          (Conductor,(x_coord,y_coord)) -&gt; (i want to put working function here) 
  
  
  help1 :: Coord -&gt; List_2D Cell -&gt; List_2D Cell
  help1 a = case a of 
           x:xs
          (Conductor, (x_e, y_e))-&gt; List_2D.local_elements(element, (x_e, y_e)): help1 xs 
  </code></pre>
  
  <p>the local_element is a function on another file which i want to use 
  also if you require to view the any of he other files, just ask 
  thanks any help is greatly appreciated </p>