init list helper

Suggestion for list helper

```
nix-repl> lib.init [ 1 2 3 4 ]
[ 1 2 3 ]

nix-repl> lib.elem 4 (lib.init [ 1 2 3 4 ])
false
```