diff --git a/src/parsers/index.ts b/src/parsers/index.ts index b4a0608..d696ede 100644 --- a/src/parsers/index.ts +++ b/src/parsers/index.ts @@ -8,7 +8,7 @@ import { WINDOW_WIDTH, } from '../constants'; -import {first, last, second} from '../lenses'; +import {first, second} from '../lenses'; // unwrap first element of the string array const firstString = first(); @@ -18,10 +18,6 @@ const fst = compose(defaultTo(''), view(firstString)); const secondString = second(); const snd = compose(defaultTo(''), view(secondString)); -const lastString = last(); -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const lst = compose(defaultTo(''), view(lastString)); - // extract sentences naively splitting by delimiters const sentencePattern = `([^${SENTENCE_END_MARKERS}]*?[${SENTENCE_END_MARKERS}]+)`; const senteceFlags = 'gmu';