import { Path } from './types' ; import { curry2 } from '@typed/functions' ; import { lensPath } from '../lensPath' ; name export const path = curry2 ( function ( path , obj ) : any { return lensPath < any , any > ( path ) . view ( obj ) ; } ) ;