issues Search Results · repo:fortio/sets language:Go
Filter by
0 results
(81 ms)0 results
infortio/sets (press backspace or delete to remove) - In go.mod, go 1.21
- Drop dependency on golang.org/x/exp/constraints and use cmp.Ordered
- Drop dependency on golang.org/x/exp/slices
- Rewrite Sort to just wrap slices.Sort
- Rewrite Equals ...
dolmen
- 4
- Opened on May 29, 2024
- #66
https://go.dev/play/p/2L3NR09zIJu
package main
import (
fmt
math
fortio.org/sets
)
func test(v float64) {
set := sets.New(v, v, v, v)
set.Add(v, v, v)
fmt.Printf( Using %f : %d elems %v ...
documentation
enhancement
ldemailly
- 3
- Opened on Mar 24, 2023
- #13
s := sets.New(0, 1, 2, 10, 11, 100)
fmt.Println(s)
gives:
0,1,10,100,11,2
https://go.dev/play/p/y78ROJLKJOe
I expect keys to be sorted by their value, not their string representation.
dolmen
- 2
- Opened on Feb 24, 2023
- #4

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.