diff options
author | Niko Weh <niko.weh@gmail.com> | 2015-10-31 19:44:04 +1000 |
---|---|---|
committer | Niko Weh <niko.weh@gmail.com> | 2015-10-31 19:44:04 +1000 |
commit | b5cb14703ac99e70ecd6c1ec2abd9a2b5dbde54d (patch) | |
tree | d2d8a0061b7c8a34dc51ffc981d63903349f5ce3 /pt-br | |
parent | edfc99e198fd2e87802ea81d6779fbadfab64919 (diff) |
Haskell: Fix !! operator
- Use a finite list, as infinite lists are not introduced yet
- Use a list starting from 1 instead of 0, to make it obvious that
the element returned comes from the list (and is not the second
argument to !!).
Diffstat (limited to 'pt-br')
0 files changed, 0 insertions, 0 deletions