Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement @kitsuyui/symbolic-prototype #481

Merged
merged 1 commit into from
Dec 28, 2024
Merged

Conversation

kitsuyui
Copy link
Owner

@kitsuyui kitsuyui commented Dec 28, 2024

Example

import { SymbolicPrototype } from '@kitsuyui/symbolic-prototype';
const $ = SymbolicPrototype.NumberArray;
const array = [1, 2, 3];
const twice = array[$.scale](2);
console.log(twice); // => [2, 4, 6]

Caution

  • I do not recommend using this package. It is just for fun.
  • This package is experimental.
  • This package is not intended to be used in production.
  • Breaking changes may be introduced in the future.

Copy link

codecov bot commented Dec 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.32%. Comparing base (6e29313) to head (b617811).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #481      +/-   ##
==========================================
+ Coverage   98.24%   98.32%   +0.08%     
==========================================
  Files          21       24       +3     
  Lines         341      358      +17     
  Branches       57       57              
==========================================
+ Hits          335      352      +17     
  Misses          6        6              
Flag Coverage Δ
unittests 98.32% <100.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

 ## Example

```ts
import { SymbolicPrototype } from '@kitsuyui/symbolic-prototype';
const $ = SymbolicPrototype.NumberArray;
const array = [1, 2, 3];
const twice = array[$.scale](2);
console.log(twice); // => [2, 4, 6]
```

 ## Caution

- I do not recommend using this package. It is just for fun.
- This package is experimental.
- This package is not intended to be used in production.
- Breaking changes may be introduced in the future.
@kitsuyui kitsuyui force-pushed the feat-symbolic-prototype branch from b084904 to b617811 Compare December 28, 2024 16:40
@kitsuyui kitsuyui merged commit c2ca1b0 into main Dec 28, 2024
14 checks passed
@kitsuyui kitsuyui deleted the feat-symbolic-prototype branch December 28, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant