Open crcdng opened 6 years ago
> :paste … execState (do … sumArray [1, 2, 3] … sumArray [4, 5] … sumArray [6]) 0 … ^D 21
sumArray takes Array Number, the array values here are of type Int
sumArray
Array Number
Int
sumArray
takesArray Number
, the array values here are of typeInt