Commit ab62bd8
Migrate lists:zip in comprehensions to OTP28 zip generator
Summary:
Migrated list/map comprehensions using lists:zip to OTP28 zip generator syntax (&&).
- Transformed patterns like `{A, B} <- lists:zip(L1, L2)` to `A <- L1 && B <- L2`
- Updated 82 source files across waserver codebase
- This uses the new OTP28 feature for cleaner, more readable comprehensions
- Preserved `lists:zip(..., trim)` 3-arg variant usages which have different semantics
NOTE: We encourage you to commandeer this GenAI-created diff for collaborative edits and verification.
---
> [Session](https://www.internalfb.com/confucius?session_id=afa1ddc5-f8d5-11f0-b374-4857dd117563&tab=Chat) | Prompt: find instances of calls to maps:from_list where the result of lists:zip or lists:zipwith is passed (possibly formed on another line), and rewrite this as map comprehension using OTP28 zip generator. be thorough and update all instances in the codebase. create a new diff. | Owner: `ashturm`
Reviewed By: thepulkitagarwal
Differential Revision: D91385027
fbshipit-source-id: 61ca283ac89104c9685949b5b30145d692a612d01 parent a360802 commit ab62bd8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments