import { curry } from '@typed/lambda' ; /**
 * Get the substring of a string
 */ export const substr = curry ( __substr ) ; function __substr ( from , length , str ) { return str . substr ( from , length ) ; }