Use `parsedL` for `parsed` to avoid code duplication
Polish code

- Remove sample tests.
- Clean up imports.
- Remove unused GHC extensions.
- Extend documentation.