-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve typing of maps:map when the input is a shape
Summary: Given `F :: fun((AnyKey, AnyVal) -> Ret)`: - Previously, `maps:map(F, #{Ka => Va, Kb => Vb, ...}) -> #{Ka | Kb | ... => Ret}`. - After this diff, `maps:map(F, #{Ka => Va, Kb => Vb, ...}) -> #{Ka => Ret, Kb => Ret, ...}`. Reviewed By: VLanvin Differential Revision: D59867075 fbshipit-source-id: 5850c1515afc5ba27ec79d40239262e8021360b6
- Loading branch information
1 parent
1a2d1cf
commit 3ff553c
Showing
3 changed files
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters