I am trying to find a non-exhaustive template in the library code. In particular, the implementation of HDBC mysql. It is trying to match the types in my program and map them to the mysql types that I consider. It seems I cannot get a column for this error, which means that since there are several parameters in the SQL query, it is difficult to determine what exactly causes it.
Is it possible to get a column in haskell so that I know which parameter is causing the error? I would also think that this should be caught by the compiler, as it should be able to look at my types and patterns and make sure there is an appropriate match.
debugging haskell
Steve severance
source share