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

關於方案格式 #66

Open
graphemecluster opened this issue Oct 30, 2024 · 0 comments
Open

關於方案格式 #66

graphemecluster opened this issue Oct 30, 2024 · 0 comments

Comments

@graphemecluster
Copy link
Member

其實當初方案格式設計應為 module 而非 function body,如

export const 選項 = prev選項 => ({ /* ... */ });
export default new 推導方案((音韻地位, 字頭, 選項) => {
  // ...
});

這樣就可以把費時操作 (nk2028/tshet-uinh-autoderiver#10 (comment)) 放到方案外面,還可以以直觀的方式 import 其他方案

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

No branches or pull requests

1 participant