
Lens (Grade A)经过严格测试的数据-ai技能, Claude AI 的 A 级技能。使用 Lens 库,使用 makeFieldsId 函数生成访问器,export 访问器及其类型类, 并鼓励使用 lens 或 OverloadedRecordDot 来代替模式匹配。
概览
主要功能
- 利用makeFieldsId函数生成访问器
- 导出访问器及其类型类
- 鼓励使用lens或OverloadedRecordDot代替模式匹配
- 处理NoFieldSelectors记录
价格
- 模型
- Free
- 分类
- 育言活动
- 评分
- 暂无评价
使用场景
Haskell 记录域访问
使用 Lens (Grade A) 生成 Haskell 记录域的访问函数,确保数据结构交互的安全和高效性。
代码审阅与优化
使用 Lens (Grade A) 对现有 Haskell 代码进行审阅和优化,实现更好的记录域访问实践。
优点 & 缺点
优点
- 推广Haskell中记录字段访问的最佳实践
- 通过鼓励lens或OverloadedRecordDot的使用来减少阴影警告
- 简化安全和高效的数据结构交互
- cons
- :
- 可能需要适应现有代码的兼容性调整,对于不熟悉lens或Haskell的人可能存在较陡的学习曲线
- useCases
- :
- [object Object],[object Object]
缺点
- 可能需要对现有代码库进行兼容性调整
- 对于未熟悉 Lens 或 Haskell的人来说,学习曲线较陡
- 存在较高的编程难度
评测
登录以留下评测。
暂无评测。来当第一个吧!
问答
Is there a learning curve for new users?
The skill promotes best practices but requires familiarity with the lens library and Template Haskell; users unfamiliar with these may experience a steeper learning curve compared to traditional record access.
Asked by Kalinda Reddy · Nov 27, 2025
Will I need to adjust my existing Haskell code to use this skill?
If your code already uses lens or OverloadedRecordDot, integration is minimal. However, if you rely on pattern matching or custom field prefixes, you may need to refactor those parts to avoid shadowing warnings and to align with the skill’s conventions.
Asked by Linda Petersen · Sep 19, 2025
Does the skill support records that use the NoFieldSelectors extension?
Yes, it is specifically designed for NoFieldSelectors records, allowing makeFieldsId to generate accessors that match the field names exactly without needing prefixes or underscores.
Asked by Hosanna Marte · Sep 18, 2025
What is the main purpose of the Lens skill for Haskell developers?
The Lens skill automates the generation of field accessors for records using the lens library’s makeFieldsId, exporting accessors with their type classes and encouraging use of lens or OverloadedRecordDot instead of pattern matching, which reduces shadowing warnings and duplicate type class definitions.
Asked by Grace Okafor · Sep 14, 2025
提问
育言活动 的替代品

安全试验的数据-AI技能 - Claude AI。A级。即将开始需要与当前工作环境隔离的功能工作,或执行实施计划前-创建隔离的git工作tree

为Claude AI提供了经过安全测试的数据ai技能。 Grade A. GA4 BigQuery导出模式参考 - 完整字段参考、嵌套结构、查询模式和性能提示

安全测试的数据-AI技能,专为Claude AI打造。Grade A. Meta Conversions API (CAPI) 设置指南-架构、事件类型、客户信息哈希、去重复、实现示例、AEM

经过安全测试的 Claude AI 开发技能。Grade A。列出函数/方法调用的直接调用图

安全测试数据-ai技能,Grade A. 名为Haskell测试模块,以同一命名空间中的测试模块命名,并在其后添加 Spec 辅助。 在编写或审阅Haskell测试模块时使用。

经安全检测的数据 AI 技能,适用于 Claude AI。A级。模拟五位专家董事会就重大决策进行审议。用于评估计划、架构选择、功能设计或任何决策。

安全测试的开发技能,适用于 Claude AI。Grade A。通过 PE(入口点)实现高级 MVC —— 在标准 MVC 界面(CNTA300/MATA070/MATA440/MATA460/FINA040 via *STRU)中添加自定义网格。
经过安全测试的 DevOps 技能,适用于 Claude AI。Grade A。**WORKFLOW SKILL** — 在 docs site、agent files 和 changelog 中保持仓库文档的准确性和新鲜度。WHEN: "update docs"




