Random -> Safe

This commit is contained in:
ven 2016-12-14 19:59:16 +01:00 committed by GitHub
parent 66e541e9e5
commit a70f8469c4

View File

@ -85,7 +85,7 @@ head [1,2,3] -- Just (1)
tail [3,2,1] -- Just ([2,1])
init [1,2,3] -- Just ([1,2])
last [3,2,1] -- Just (1)
-- Random access - indexing
-- Array access - indexing
[3,4,5,6,7] !! 2 -- Just (5)
-- Range
1..5 -- [1,2,3,4,5]