Essentially, I have a function that uses Maybe Int to display the Sudoku problem. Sudoku's solution contains only Ints, and the code for displaying the Grid will be almost identical, with the exception of Maybe Int, used for problems and Int, used for solutions.
Is it possible to use Int values ββfor a function that requires Maybe Int, if so, how?
Edit: it just works, is there a way to convert an int list to possibly an int?
source share