kowainik / kowainik/stan

Check 'fromString' for BS 'IsString' instances

Open
#442 0 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.