1 2 3 already done in JAVA in eclipse , 4th is left in haskell
I attach Q ( 1 2 3 ) in a zip file and solution in other zip file !
But I need #4
4. Implement a generator (in any language, but more marks for Haskell/Scala) for this assignment which has a single method (i.e. there should not be 6 cases) that is parametrized by the choices (i.e. record/Array, at/rc/cr, and dimension). Note it is significantly easier to have this generator take the dimension as a parameter [i.e. in theory you could generate record-based code for 10x10 matrices!]. Make sure your code works properly for 1x1 matrices too. Using an AST (rather
than strings) is denitely preferred.
This may be connected to the Q and solution file which are in java !