kowainik / kowainik/first-class-patterns

Add benchmarks or tests with 'inspection-testing' tool

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
18
Forks
0
PR merge metrics
No merged PRs in 30d

Description

There's such line in documentation:

> Also, when optimisation is turned on, GHC will compile them to the same code.

Would be good to be sure in such things. Probably some benchmarks or even tests with `inspection-testing` tool could help this!

Duplicates: https://github.com/reinerp/first-class-patterns/issues/4

Contributor guide

Open the contributing guide

Research direction

Start by locating the documentation containing the claim that optimization produces the same code, then review the `inspection-testing` tool and the duplicate issue at https://github.com/reinerp/first-class-patterns/issues/4. Done means adding benchmarks or tests that verify the claim.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
documentation, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.