mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
haskell: trivial let
This commit is contained in:
parent
a07cd60309
commit
ace79ec0bc
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ Every error case in generated code must be handled properly.
|
|||
- Use RecordDotSyntax (`value.field`) instead of manually unpacking data types
|
||||
- Use lenses for record manipulation when appropriate
|
||||
- Use `Applicative` and `Monad` appropriately
|
||||
- Avoid trivial `let` bindings when inlining keeps code simple and readable
|
||||
|
||||
## Testing
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue