Copyright | (c) Donnacha Oisín Kidney 2018 |
---|---|
License | MIT |
Maintainer | mail@doisinkidney.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module provides optimal selection functions for small, fixed-size inputs. Each function returns the (0-based) index of the argument which is the nth item, according to the supplied relation.