Check 'fromString' for BS 'IsString' instances
Open
inspection
- Dominant language
- Haskell
- Stars
- 597
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
These instances truncate characters. We already have an inspection for `ByteString.Char8.pack` and the relevant mechanism. So it should be pretty straightforward to implement this one as well.
Contributor guide
Research direction
Locate the existing inspection for `ByteString.Char8.pack` and trace the relevant mechanism used there. Apply that approach to `fromString` for `ByteString` `IsString` instances; done means the inspection detects instances that truncate characters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100