hasgo
hasgo copied to clipboard
Haskell-flavoured functions for Go :smiley:
_Dependabot Preview will be shut down on August 3rd, 2021. In order to keep getting Dependabot updates, please merge this PR and migrate to GitHub-native Dependabot before then._ Dependabot has...
The \\ function is list difference (non-associative). In the result of xs \\ ys, the first occurrence of each element of ys in turn (if any) has been removed from...
The permutations function returns the list of all permutations of the argument. ```haskell [a] -> [[a]] permutations "abc" ["abc","bac","cba","bca","cab","acb"] ```
The subsequences function returns the list of all subsequences of the argument. ```haskell [a] -> [[a]] subsequences "abc" ["","a","b","ab","c","ac","bc","abc"] ```
Take a starting value and iteratively apply a function to decompose it into a data structure.
In the Python build script, the final step should run coverage tests on /types/* to make sure we test everything.
Create a seperate repository for examples, so that people can add cool snippets of their code to the repo. (A collection of examples + tutorials etc?)
BigNum?
Define a Numbers type which is equal to `math/big` in Go for arbitrary precision numbers.