Remove bounds check and exception from Data.String.Unsafe foreign code?
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 重構
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 領域
- tooling
研究方向
Start with the Data.String.Unsafe foreign code and compare its behavior with the safe API's unsafeJust entry point. Determine which bounds checks and exceptions the issue refers to, then verify that the foreign implementations consistently match the intended unsafe behavior across supported targets.
由索引模型根據 Issue 內容生成。
描述
I think the bounds check and the exception are largely unnecessary. Presumably one would be using these APIs if they had already performed the requisite checks. If one wanted an exception (rather than undefined behavior), then there is unsafeJust on the safe API.
- 主要語言
- PureScript
- 星號
- 57
- 分支
- 76
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
purescript/purescript-strings 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 35/100
purescript/purescript-strings#176 · 6 則留言 ·
-
難度 3/5 1-2 天 新手友好度 45/100
purescript/purescript-strings#170 ·
-
難度 5/5 一週以上 新手友好度 25/100
purescript/purescript-strings#169 · 7 則留言 ·
-
難度 3/5 1-2 天 新手友好度 38/100
purescript/purescript-strings#167 · 4 則留言 ·
-
難度 5/5 一週以上 新手友好度 30/100
purescript/purescript-strings#164 · 2 則留言 ·
查看 purescript/purescript-strings 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
UKGovernmentBEIS/inspect_ai#5821 ·
維護者通常 1 天內回覆
-
submodule-pointer-regression
難度 1/5 1 小時以內 新手友好度 72/100
smith-horn/skillsmith#3061 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 86/100
openai/codex-plugin-cc#813 ·
-
evidence wanted good first issue help wanted
難度 2/5 1-3 小時 新手友好度 72/100
open-coder-ai/agentseam#195 ·
維護者通常 1 天內回覆
-
good first issue help wanted
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆