import { curry } from '@typed/lambda' ; import { withMutations } from './withMutations' ; export const remove = curry ( < A , B > ( key , map ) : ReadonlyMap < A , B > => withMutations ( ( x ) => x . delete ( key ) , map ) ) ;