remove
lib.lists.remove
Docs pulled from | This Revision | 4 days ago
Remove elements equal to 'e' from a list. Useful for buildInputs.
Inputs
- e
- 
Element to remove from list
- list
- 
The list 
Type
remove :: a -> [a] -> [a]
Examples
lib.lists.remove usage example
remove 3 [ 1 3 4 3 ]
=> [ 1 4 ]
Noogle detected
Implementation
The following is the current implementation of this function.
remove = e: filter (x: x != e);