import { Index , List } from '../types' ; import { Maybe } from '@typed/maybe' ; export type IndexOf = { < A > ( value , list ) : Maybe < Index > ; < A > ( value ) : ( list : List < A > ) => Maybe < Index > ; } ;