-
Notifications
You must be signed in to change notification settings - Fork 49
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
Merge IOHK fork #89
base: master
Are you sure you want to change the base?
Merge IOHK fork #89
Commits on May 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 81ad9e8 - Browse repository at this point
Copy the full SHA 81ad9e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80774b2 - Browse repository at this point
Copy the full SHA 80774b2View commit details
Commits on May 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ecd2bd8 - Browse repository at this point
Copy the full SHA ecd2bd8View commit details
Commits on May 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 70f1654 - Browse repository at this point
Copy the full SHA 70f1654View commit details
Commits on May 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 02de37e - Browse repository at this point
Copy the full SHA 02de37eView commit details -
Bugfix for Encode/Decode constraints.
For generic decoding, `Decode (Foo a)` needs a `Decode a` constraint, but it *doesn't* need a `Generic a` constraint. Adding in this unnecessary constraint creates needless problems like, "there isn't an instance for `Generic String _`."
Configuration menu - View commit details
-
Copy full SHA for d9bf17a - Browse repository at this point
Copy the full SHA d9bf17aView commit details -
Bugfix for decode/encode instances on recursive types.
PureScript isn't happy with eta-reduced typeclass instances on recursive types. We have to make the function application explicit.
Configuration menu - View commit details
-
Copy full SHA for 8eace90 - Browse repository at this point
Copy the full SHA 8eace90View commit details
Commits on May 23, 2019
-
You can now generate
Eq
instances for something like `Proxy :: Prox……y (Container A)`. The generated code will include an `Eq a =>` constraint.
Configuration menu - View commit details
-
Copy full SHA for 4ef961c - Browse repository at this point
Copy the full SHA 4ef961cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05b5b62 - Browse repository at this point
Copy the full SHA 05b5b62View commit details
Commits on May 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 72fbe2d - Browse repository at this point
Copy the full SHA 72fbe2dView commit details -
Aeson-compatible encodings for Enums*.
* Sum types where every constructor has zero arguments. Aeson has special handling for these.
Configuration menu - View commit details
-
Copy full SHA for a7069a5 - Browse repository at this point
Copy the full SHA a7069a5View commit details
Commits on Sep 20, 2019
-
Bugfix for Encode/Decode constraints.
For generic decoding, `Decode (Foo a)` needs a `Decode a` constraint, but it *doesn't* need a `Generic a` constraint. Adding in this unnecessary constraint creates needless problems like, "there isn't an instance for `Generic String _`."
Configuration menu - View commit details
-
Copy full SHA for 02bd099 - Browse repository at this point
Copy the full SHA 02bd099View commit details -
Configuration menu - View commit details
-
Copy full SHA for de2574e - Browse repository at this point
Copy the full SHA de2574eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b310e6a - Browse repository at this point
Copy the full SHA b310e6aView commit details -
You can now generate
Ord
instances for something like `Proxy :: Pro……xy (Container A)`. The generated code will include an `Ord a =>` constraint.
Configuration menu - View commit details
-
Copy full SHA for 1fc332d - Browse repository at this point
Copy the full SHA 1fc332dView commit details -
It turns out you can't eta-reduce typeclass instances for recursively-defined typeclasses in PureScript. That is: `show = genericShow` ...has to be replaced with: `show x = genericShow` ...to work reliably. See: purescript/purescript#2975
Configuration menu - View commit details
-
Copy full SHA for e68e46d - Browse repository at this point
Copy the full SHA e68e46dView commit details -
genericShow now supports parameterised types.
That is, `(genericShow <*> mkSumType) (Proxy @(Foo A))` will generate: ``` instance showFoo :: Show a => Show (Foo a) where show = genericShow ``` ...whereas before it would have missed out the `Show a` constraint.
Configuration menu - View commit details
-
Copy full SHA for 1e7ca3d - Browse repository at this point
Copy the full SHA 1e7ca3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e25608 - Browse repository at this point
Copy the full SHA 5e25608View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c3dd26 - Browse repository at this point
Copy the full SHA 0c3dd26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0042602 - Browse repository at this point
Copy the full SHA 0042602View commit details
Commits on Sep 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for fb8a038 - Browse repository at this point
Copy the full SHA fb8a038View commit details
Commits on Nov 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a76b119 - Browse repository at this point
Copy the full SHA a76b119View commit details
Commits on Nov 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 28c3777 - Browse repository at this point
Copy the full SHA 28c3777View commit details
Commits on Feb 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6a92d78 - Browse repository at this point
Copy the full SHA 6a92d78View commit details
Commits on Oct 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 755841f - Browse repository at this point
Copy the full SHA 755841fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 808d12c - Browse repository at this point
Copy the full SHA 808d12cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62ead0a - Browse repository at this point
Copy the full SHA 62ead0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2276c49 - Browse repository at this point
Copy the full SHA 2276c49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13381aa - Browse repository at this point
Copy the full SHA 13381aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c867392 - Browse repository at this point
Copy the full SHA c867392View commit details -
Merge pull request eskimor#3 from input-output-hk/jhbertra/ps-014
Update for PureScript 0.14
Configuration menu - View commit details
-
Copy full SHA for 0cd3f0c - Browse repository at this point
Copy the full SHA 0cd3f0cView commit details
Commits on Oct 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0240a54 - Browse repository at this point
Copy the full SHA 0240a54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 542274f - Browse repository at this point
Copy the full SHA 542274fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38b502a - Browse repository at this point
Copy the full SHA 38b502aView commit details
Commits on Oct 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6c5c39d - Browse repository at this point
Copy the full SHA 6c5c39dView commit details
Commits on Oct 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 44fe87f - Browse repository at this point
Copy the full SHA 44fe87fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e0cebf - Browse repository at this point
Copy the full SHA 1e0cebfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d311a8 - Browse repository at this point
Copy the full SHA 1d311a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9c9fe9 - Browse repository at this point
Copy the full SHA f9c9fe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69f69a5 - Browse repository at this point
Copy the full SHA 69f69a5View commit details
Commits on Oct 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 12aa42c - Browse repository at this point
Copy the full SHA 12aa42cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2231292 - Browse repository at this point
Copy the full SHA 2231292View commit details -
Merge pull request eskimor#4 from input-output-hk/jhbertra/ps-014
PureScript 14 updates, Argonaut encode and decode instances
Configuration menu - View commit details
-
Copy full SHA for 7bc806f - Browse repository at this point
Copy the full SHA 7bc806fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6d4f98 - Browse repository at this point
Copy the full SHA e6d4f98View commit details
Commits on Oct 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c898b46 - Browse repository at this point
Copy the full SHA c898b46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55c951d - Browse repository at this point
Copy the full SHA 55c951dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2953fb1 - Browse repository at this point
Copy the full SHA 2953fb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f91764 - Browse repository at this point
Copy the full SHA 2f91764View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35d863b - Browse repository at this point
Copy the full SHA 35d863bView commit details
Commits on Oct 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 132a6d1 - Browse repository at this point
Copy the full SHA 132a6d1View commit details
Commits on Oct 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 27501fe - Browse repository at this point
Copy the full SHA 27501feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 366fc70 - Browse repository at this point
Copy the full SHA 366fc70View commit details
Commits on Nov 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 569fc66 - Browse repository at this point
Copy the full SHA 569fc66View commit details
Commits on Jan 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7d3b750 - Browse repository at this point
Copy the full SHA 7d3b750View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4c4069 - Browse repository at this point
Copy the full SHA b4c4069View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9550caf - Browse repository at this point
Copy the full SHA 9550cafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 759012a - Browse repository at this point
Copy the full SHA 759012aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a62b87c - Browse repository at this point
Copy the full SHA a62b87cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47a1f11 - Browse repository at this point
Copy the full SHA 47a1f11View commit details
Commits on Jun 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2b58aa6 - Browse repository at this point
Copy the full SHA 2b58aa6View commit details
Commits on Jul 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 51e8404 - Browse repository at this point
Copy the full SHA 51e8404View commit details -
Merge pull request eskimor#10 from paluh/master
Add package namespacing support
Configuration menu - View commit details
-
Copy full SHA for 7e554e5 - Browse repository at this point
Copy the full SHA 7e554e5View commit details
Commits on Sep 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 53f4e98 - Browse repository at this point
Copy the full SHA 53f4e98View commit details
Commits on Sep 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 94c66ef - Browse repository at this point
Copy the full SHA 94c66efView commit details -
latest `haskell-flake` also uses https://github.com/thomashoneyman/purescript-overlay
Configuration menu - View commit details
-
Copy full SHA for faf275c - Browse repository at this point
Copy the full SHA faf275cView commit details -
format with Fourmolu and then Stylish Haskell
``` fourmolu -i src --comma-style leading --import-export-style leading --function-arrows leading --indentation 4 --record-brace-space true fourmolu -i test --comma-style leading --import-export-style leading --function-arrows leading --indentation 4 --record-brace-space true find . -name '*.hs' | xargs stylish-haskell -i ``` to reduce diffs from parent repository
Configuration menu - View commit details
-
Copy full SHA for b5fbac0 - Browse repository at this point
Copy the full SHA b5fbac0View commit details
Commits on Sep 25, 2023
-
* `CodeGenSwitches` no longer used * `Proxy` no longer used * `Printer` uses `Leijen.Text` instead of `Text` * some unit tests replaced with IOHK's tests TODO * fix derived instances * eskimor#74 (comment) * fix tests
Configuration menu - View commit details
-
Copy full SHA for cf3de1d - Browse repository at this point
Copy the full SHA cf3de1dView commit details
Commits on Sep 30, 2023
-
genericShow
instance provided by IOHK forkdelete second implementation of this instance Merge remote-tracking branch 'parent/master' into merge-iohk-3
Configuration menu - View commit details
-
Copy full SHA for 35ecb0e - Browse repository at this point
Copy the full SHA 35ecb0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 027e5e7 - Browse repository at this point
Copy the full SHA 027e5e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a57e39e - Browse repository at this point
Copy the full SHA a57e39eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fba4c7a - Browse repository at this point
Copy the full SHA fba4c7aView commit details -
`SumTypes` replace `CodeGenSwitches`
Configuration menu - View commit details
-
Copy full SHA for 974d7db - Browse repository at this point
Copy the full SHA 974d7dbView commit details
Commits on Oct 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0d5edfe - Browse repository at this point
Copy the full SHA 0d5edfeView commit details -
fix rendered
EncodeJson
andDecodeJson
instances`RoundTrip` builds successfully now: ``` cabal test --test-options="--match \"/writePSTypesWith/should be buildable/\"" ```
Configuration menu - View commit details
-
Copy full SHA for 88f1e31 - Browse repository at this point
Copy the full SHA 88f1e31View commit details -
extend example to show failing case
``` Error decoding Foo: An error occurred while decoding a JSON value: Under 'When decoding a Foo': Under '"tag" property is missing': No value was found. ```
Configuration menu - View commit details
-
Copy full SHA for d1a613b - Browse repository at this point
Copy the full SHA d1a613bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5933ef7 - Browse repository at this point
Copy the full SHA 5933ef7View commit details -
fix printing of imports with/without aliases
import lines with and without aliases should not be merged
Configuration menu - View commit details
-
Copy full SHA for a2acbbb - Browse repository at this point
Copy the full SHA a2acbbbView commit details
Commits on Oct 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c9fa2f0 - Browse repository at this point
Copy the full SHA c9fa2f0View commit details
Commits on Oct 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5480bff - Browse repository at this point
Copy the full SHA 5480bffView commit details -
fix dependency notice for
json-helpers
"The following purescript packages are needed by the generated code:"
Configuration menu - View commit details
-
Copy full SHA for 1bc3046 - Browse repository at this point
Copy the full SHA 1bc3046View commit details -
Configuration menu - View commit details
-
Copy full SHA for eadfb27 - Browse repository at this point
Copy the full SHA eadfb27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93e6ab7 - Browse repository at this point
Copy the full SHA 93e6ab7View commit details -
improve example to show random errors
see error by: - enter `example` directory - spago bundle-app --to static/index.js - cabal run example - open http://localhost:8080/index.html in browser - see browser console - refresh the page. Sometimes the client will decode the payload successfully, sometimes not
Configuration menu - View commit details
-
Copy full SHA for 47becfb - Browse repository at this point
Copy the full SHA 47becfbView commit details
Commits on Oct 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c7ebbac - Browse repository at this point
Copy the full SHA c7ebbacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b5e11f - Browse repository at this point
Copy the full SHA 0b5e11fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bce383f - Browse repository at this point
Copy the full SHA bce383fView commit details
Commits on Nov 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c60400c - Browse repository at this point
Copy the full SHA c60400cView commit details
Commits on Nov 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 55e265b - Browse repository at this point
Copy the full SHA 55e265bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 920c236 - Browse repository at this point
Copy the full SHA 920c236View commit details
Commits on Jan 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ada7742 - Browse repository at this point
Copy the full SHA ada7742View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc87b4b - Browse repository at this point
Copy the full SHA fc87b4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e9c7d9 - Browse repository at this point
Copy the full SHA 1e9c7d9View commit details
Commits on Jan 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2d6a6e2 - Browse repository at this point
Copy the full SHA 2d6a6e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3be53bf - Browse repository at this point
Copy the full SHA 3be53bfView commit details
Commits on Jan 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for deed0f3 - Browse repository at this point
Copy the full SHA deed0f3View commit details
Commits on Jan 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 95e6034 - Browse repository at this point
Copy the full SHA 95e6034View commit details -
Replace NixPkgs `haskell-updates` branch with the default branch to simplify
Configuration menu - View commit details
-
Copy full SHA for 17830c1 - Browse repository at this point
Copy the full SHA 17830c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7069895 - Browse repository at this point
Copy the full SHA 7069895View commit details -
``` find . -name '*.hs' | xargs stylish-haskell -i ```
Configuration menu - View commit details
-
Copy full SHA for 7d7c1d8 - Browse repository at this point
Copy the full SHA 7d7c1d8View commit details
Commits on Jan 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for de32d3f - Browse repository at this point
Copy the full SHA de32d3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f5008a - Browse repository at this point
Copy the full SHA 6f5008aView commit details
Commits on Feb 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 83a204d - Browse repository at this point
Copy the full SHA 83a204dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d56a437 - Browse repository at this point
Copy the full SHA d56a437View commit details -
Merge pull request #2 from peterbecich/spago-upgrade
Spago upgrade
Configuration menu - View commit details
-
Copy full SHA for 5c86b32 - Browse repository at this point
Copy the full SHA 5c86b32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8536ddf - Browse repository at this point
Copy the full SHA 8536ddfView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1eee18 - Browse repository at this point
Copy the full SHA e1eee18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c389d1 - Browse repository at this point
Copy the full SHA 8c389d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfb9ebe - Browse repository at this point
Copy the full SHA bfb9ebeView commit details -
Merge pull request #1 from flip111/fix-show2
Fix show instances for unused type variables
Configuration menu - View commit details
-
Copy full SHA for becf65e - Browse repository at this point
Copy the full SHA becf65eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28053d1 - Browse repository at this point
Copy the full SHA 28053d1View commit details
Commits on Feb 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4439ef6 - Browse repository at this point
Copy the full SHA 4439ef6View commit details
Commits on Mar 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dd3fabf - Browse repository at this point
Copy the full SHA dd3fabfView commit details
Commits on Mar 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f2e973c - Browse repository at this point
Copy the full SHA f2e973cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72d87b7 - Browse repository at this point
Copy the full SHA 72d87b7View commit details
Commits on Apr 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 392e7b4 - Browse repository at this point
Copy the full SHA 392e7b4View commit details
Commits on Jul 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8a04045 - Browse repository at this point
Copy the full SHA 8a04045View commit details
Commits on Jul 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1f1b74e - Browse repository at this point
Copy the full SHA 1f1b74eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d18a14d - Browse repository at this point
Copy the full SHA d18a14dView commit details