hasgo icon indicating copy to clipboard operation
hasgo copied to clipboard

Haskell-flavoured functions for Go :smiley:

Results 16 hasgo issues
Sort by recently updated
recently updated
newest added

Figure out if this is something we could use: https://eleni.blog/2019/05/11/parallel-test-execution-in-go/

exploratory

The transpose function transposes the rows and columns of its argument. For example, >>> transpose [[1,2,3],[4,5,6]] [[1,4],[2,5],[3,6]] If some of the rows are shorter than the following rows, their elements...

```haskell sortBy :: (a -> a -> Ordering) -> [a] -> [a]` sortBy (\(a,_) (b,_) -> compare a b) [(2, "world"), (4, "!"), (1, "Hello")] [(1,"Hello"),(2,"world"),(4,"!")] ```

Reverse of Zip()

Zip two slices. Creates a pair. (We might want to introduce a "Pair" struct?