Im new to haskell and i would need some help to start with. Ive been experimenting some basic information, but i would need some complex stuff. My "tutor" told me to start off with some basic stuff like:
i need to write a function which it is given a list of lists and it does this:
mytry :: Integer -> Integer
[[1,2,3][2,6,5][2,3][8,7,1][9,3]] = 155
does this: 1*2*3+2*6*5+2*3+8*7*1+9*3
Any ideas pls? :S
I know its a simple program, but i've never written a program at all, only simple orders. Help pls and thanks.
0 · ·