jgm / jgm/typst-hs

some `color` primitives make the conversion fails

Open
#35 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
76
Forks
11
Avg merge
9h 5m
Merged PRs (30d)
1

Description

These are the
- `desaturate` method, fails with `Color does not have a method "desaturate" or FieldAccess requires a dictionary`
- `color.hsl` constructor, fails with `Identifier "color" not found`
- `color.hsv` constructor, fails with `Identifier "color" not found`
- `color.linear-rgb` constructor, fails with `Identifier "color" not found`
- `.mix` method, fails with `Color does not have a method "mix" or FieldAccess requires a dictionary`
- `oklab` constructor, fails with `Identifier "oklab" not found`
- `oklch` constructor, fails with `Identifier "oklch" not found`
- `rotate` method, fails with `Color does not have a method "rotate" or FieldAccess requires a dictionary`
- `saturate` method fails with `Color does not have a method "saturate" or FieldAccess requires a dictionary`

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is identified in the issue. Start by reproducing the listed color primitive conversions in typst-hs and trace their conversion errors. Done means desaturate, hsl, hsv, linear-rgb, mix, oklab, oklch, rotate, and saturate convert without the reported failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.