Repository navigation
feat: FlatList module with the vocabulary of the FSharp.Core Array module
#26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
1f1532e
feat: `FlatList` module with the vocabulary of the FSharp.Core `Array…
xperiandri b798db5
test: shared contracts of the sequence-like modules, run for `FlatList`
xperiandri 43e4fd5
docs: `FlatList` in the changelog and the collection table
xperiandri 8ef6a97
fixup! feat: `FlatList` module with the vocabulary of the FSharp.Core…
xperiandri 35ec01e
fixup! feat: `FlatList` module with the vocabulary of the FSharp.Core…
xperiandri a827005
fixup! feat: `FlatList` module with the vocabulary of the FSharp.Core…
xperiandri 0bab4fe
fixup! test: shared contracts of the sequence-like modules, run for `…
xperiandri 2925ceb
fixup! feat: `FlatList` module with the vocabulary of the FSharp.Core…
xperiandri f946e17
fixup! test: shared contracts of the sequence-like modules, run for `…
xperiandri cf8ef72
fixup! feat: `FlatList` module with the vocabulary of the FSharp.Core…
xperiandri 5548903
fixup! test: shared contracts of the sequence-like modules, run for `…
xperiandri bbdda1b
fixup! feat: `FlatList` module with the vocabulary of the FSharp.Core…
xperiandri 8b69d52
fixup! test: shared contracts of the sequence-like modules, run for `…
xperiandri 047ee9b
fixup! test: shared contracts of the sequence-like modules, run for `…
xperiandri 377bf02
fixup! feat: `FlatList` module with the vocabulary of the FSharp.Core…
xperiandri c487fb3
fixup! test: shared contracts of the sequence-like modules, run for `…
xperiandri 7935f61
fixup! feat: `FlatList` module with the vocabulary of the FSharp.Core…
xperiandri 0121a2a
fixup! test: shared contracts of the sequence-like modules, run for `…
xperiandri 85201fe
fixup! docs: `FlatList` in the changelog and the collection table
xperiandri 353a938
fixup! feat: `FlatList` module with the vocabulary of the FSharp.Core…
xperiandri 3225f5e
fixup! test: shared contracts of the sequence-like modules, run for `…
xperiandri 502f2cf
fixup! docs: `FlatList` in the changelog and the collection table
xperiandri 256046c
fixup! feat: `FlatList` module with the vocabulary of the FSharp.Core…
xperiandri 9ee3a95
fixup! test: shared contracts of the sequence-like modules, run for `…
xperiandri c1dd50a
fixup! docs: `FlatList` in the changelog and the collection table
xperiandri eac71ec
fixup! feat: `FlatList` module with the vocabulary of the FSharp.Core…
xperiandri c921c91
fixup! test: shared contracts of the sequence-like modules, run for `…
xperiandri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| [<AutoOpen>] | ||
| module FSharp.Collections.Immutable.ComputationExpressions | ||
|
|
||
| // ---- Creation ---- | ||
|
|
||
| let flatList = FlatListCE () |
21 changes: 21 additions & 0 deletions
21
src/FSharp.Collections.Immutable/ComputationExpressions.fsi
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| /// <summary> | ||
| /// The computation expressions of the collections (ADR 0001, D7). | ||
| /// </summary> | ||
| [<AutoOpen>] | ||
| module FSharp.Collections.Immutable.ComputationExpressions | ||
|
|
||
| // ---- Creation ---- | ||
|
|
||
| /// <summary>Builds a flat list.</summary> | ||
| /// <example id="flatList-1"> | ||
| /// <code lang="fsharp"> | ||
| /// let squares = flatList { | ||
| /// yield 0 | ||
| /// for i in 1..3 do | ||
| /// yield i * i | ||
| /// yield! [ 100; 200 ] | ||
| /// } | ||
| /// </code> | ||
| /// Evaluates to a flat list of 0, 1, 4, 9, 100 and 200. | ||
| /// </example> | ||
| val flatList : FlatListCE |
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.