elemAt
builtins.elemAt
Primop
Docs pulled from | This Revision | 16 minutes ago
Takes 2 arguments
xs, n
Return element n from the list xs. Elements are counted starting from 0. A fatal error occurs if the index is out of bounds.
This function is not defined in a .nix file. It is likely a builtins function or an alias of a builtins function. builtins functions are predefined functions provided by Nix.
Noogle also knows
Aliases
Detected Type
elemAt :: [a] -> Int -> a