How do you create a list-based matrix of 1\'s with given row and column counts? For example, like:
1
row=3,column=4 -> [[1,1,1,1],[1,1,1,1],[1,1,1
import Control.Applicative import Data.Functor matrix r c = [1] <* [1..c] <$ [1..r]