Generate both TS & HM type signatures
- Dominant language
- TypeScript
- Stars
- 105
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
[via fp-ts#1218](https://github.com/gcanti/fp-ts/issues/1218)
Where TS is:
```typescript
(f: (a: A) => IO) => (ma: IO) => IO
```
HM would be:
```haskell
(a -> IO b) -> IO a -> IO b
```
I think it'd be great if this generated type signatures in both styles with a client-side toggle to globally switch between them, defaulting to TS.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files, tests, or entry points. Begin by examining how docs-ts currently generates signatures and exposes client-side settings; done means documentation can switch globally between TypeScript and Hindley–Milner signatures, with TypeScript as the default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100