Closed Eman22S closed 3 years ago
BTW, we'll probably want to use Vect
instead of List
especially when we start attempting to formalize linear regression and estimate its quality attribute (given say a noise and number of data points). But that is obviously better left for another PR.
100% agree about preferring Vect
over List
whenever possible, if only to get past the requirements to prove that a List is non-empty for any non-trivial use cases.
@Eman22S, could you apply the suggestions of using
zipWith
andfst
to simplify the code? I'm very pedantic when it comes to that sort of things, but that's cause I know how important it is to combat the growth of technical dept over time. Thanks.