Skip to content
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

Open
wants to merge 118 commits into
base: master
Choose a base branch
from
Open

Merge IOHK fork #89

wants to merge 118 commits into from

Commits on May 8, 2019

  1. Configuration menu
    Copy the full SHA
    81ad9e8 View commit details
    Browse the repository at this point in the history
  2. remove TODO

    shmish111 committed May 8, 2019
    Configuration menu
    Copy the full SHA
    80774b2 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2019

  1. Configuration menu
    Copy the full SHA
    ecd2bd8 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. Whitespace changes.

    krisajenkins committed May 20, 2019
    Configuration menu
    Copy the full SHA
    70f1654 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2019

  1. Configuration menu
    Copy the full SHA
    02de37e View commit details
    Browse the repository at this point in the history
  2. 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 _`."
    krisajenkins committed May 22, 2019
    Configuration menu
    Copy the full SHA
    d9bf17a View commit details
    Browse the repository at this point in the history
  3. 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.
    krisajenkins committed May 22, 2019
    Configuration menu
    Copy the full SHA
    8eace90 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2019

  1. You can now generate Eq instances for something like `Proxy :: Prox…

    …y (Container A)`.
    
    The generated code will include an `Eq a =>` constraint.
    krisajenkins committed May 23, 2019
    Configuration menu
    Copy the full SHA
    4ef961c View commit details
    Browse the repository at this point in the history
  2. Whitespace changes.

    krisajenkins committed May 23, 2019
    Configuration menu
    Copy the full SHA
    05b5b62 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2019

  1. Configuration menu
    Copy the full SHA
    72fbe2d View commit details
    Browse the repository at this point in the history
  2. Aeson-compatible encodings for Enums*.

    * Sum types where every constructor has zero arguments. Aeson has
    special handling for these.
    krisajenkins committed May 24, 2019
    Configuration menu
    Copy the full SHA
    a7069a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2019

  1. 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 _`."
    krisajenkins committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    02bd099 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de2574e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b310e6a View commit details
    Browse the repository at this point in the history
  4. You can now generate Ord instances for something like `Proxy :: Pro…

    …xy (Container A)`.
    
    The generated code will include an `Ord a =>` constraint.
    krisajenkins committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    1fc332d View commit details
    Browse the repository at this point in the history
  5. Bugfix for genericShow.

    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
    krisajenkins committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    e68e46d View commit details
    Browse the repository at this point in the history
  6. 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.
    krisajenkins committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    1e7ca3d View commit details
    Browse the repository at this point in the history
  7. Adding Functor support.

    krisajenkins committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    5e25608 View commit details
    Browse the repository at this point in the history
  8. fix haddock

    shmish111 authored and krisajenkins committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    0c3dd26 View commit details
    Browse the repository at this point in the history
  9. Version 0.13.1.0.

    krisajenkins committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    0042602 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2019

  1. Configuration menu
    Copy the full SHA
    fb8a038 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2019

  1. Configuration menu
    Copy the full SHA
    a76b119 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2019

  1. Configuration menu
    Copy the full SHA
    28c3777 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2021

  1. use a newer stackage

    shmish111 committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    6a92d78 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2021

  1. Configuration menu
    Copy the full SHA
    755841f View commit details
    Browse the repository at this point in the history
  2. run lorri init

    jhbertra committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    808d12c View commit details
    Browse the repository at this point in the history
  3. Add flake.nix

    jhbertra committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    62ead0a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2276c49 View commit details
    Browse the repository at this point in the history
  5. 0.14.0.0

    jhbertra committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    13381aa View commit details
    Browse the repository at this point in the history
  6. Remove shell params

    jhbertra committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    c867392 View commit details
    Browse the repository at this point in the history
  7. Merge pull request eskimor#3 from input-output-hk/jhbertra/ps-014

    Update for PureScript 0.14
    jhbertra committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    0cd3f0c View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2021

  1. Configuration menu
    Copy the full SHA
    0240a54 View commit details
    Browse the repository at this point in the history
  2. Add roundtrip test project

    jhbertra committed Oct 8, 2021
    Configuration menu
    Copy the full SHA
    542274f View commit details
    Browse the repository at this point in the history
  3. Add compile test

    jhbertra committed Oct 8, 2021
    Configuration menu
    Copy the full SHA
    38b502a View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2021

  1. Add Aesone round trip test

    jhbertra committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    6c5c39d View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2021

  1. Configuration menu
    Copy the full SHA
    44fe87f View commit details
    Browse the repository at this point in the history
  2. Remove Proxy from API

    jhbertra committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    1e0cebf View commit details
    Browse the repository at this point in the history
  3. Add lenses to test

    jhbertra committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    1d311a8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f9c9fe9 View commit details
    Browse the repository at this point in the history
  5. Simplify test type

    jhbertra committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    69f69a5 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2021

  1. Integrate json helpers

    jhbertra committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    12aa42c View commit details
    Browse the repository at this point in the history
  2. Refactor printing

    jhbertra committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    2231292 View commit details
    Browse the repository at this point in the history
  3. Merge pull request eskimor#4 from input-output-hk/jhbertra/ps-014

    PureScript 14 updates, Argonaut encode and decode instances
    jhbertra committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    7bc806f View commit details
    Browse the repository at this point in the history
  4. Export everything again

    jhbertra committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    e6d4f98 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2021

  1. Configuration menu
    Copy the full SHA
    c898b46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55c951d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2953fb1 View commit details
    Browse the repository at this point in the history
  4. Add recursive types to test

    jhbertra committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    2f91764 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    35d863b View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2021

  1. Configuration menu
    Copy the full SHA
    132a6d1 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2021

  1. Configuration menu
    Copy the full SHA
    27501fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    366fc70 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2021

  1. Configuration menu
    Copy the full SHA
    569fc66 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2022

  1. Add ormolu to nix shell

    jhbertra committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    7d3b750 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4c4069 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9550caf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    759012a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a62b87c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    47a1f11 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. Add package namespacing support

    paluh committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    2b58aa6 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. Configuration menu
    Copy the full SHA
    51e8404 View commit details
    Browse the repository at this point in the history
  2. Merge pull request eskimor#10 from paluh/master

    Add package namespacing support
    jhbertra committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    7e554e5 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Configuration menu
    Copy the full SHA
    53f4e98 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. fix compilation

    peterbecich committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    94c66ef View commit details
    Browse the repository at this point in the history
  2. nix flake update

    peterbecich committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    faf275c View commit details
    Browse the repository at this point in the history
  3. 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
    peterbecich committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    b5fbac0 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. WIP merge IOHK fork

    * `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
    peterbecich committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    cf3de1d View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2023

  1. genericShow instance provided by IOHK fork

    delete second implementation of this instance
    
    Merge remote-tracking branch 'parent/master' into merge-iohk-3
    peterbecich committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    35ecb0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    027e5e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a57e39e View commit details
    Browse the repository at this point in the history
  4. generate DecodeJsonField

    peterbecich committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    fba4c7a View commit details
    Browse the repository at this point in the history
  5. delete unused CodeGenSwitches

    `SumTypes` replace `CodeGenSwitches`
    peterbecich committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    974d7db View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2023

  1. Configuration menu
    Copy the full SHA
    0d5edfe View commit details
    Browse the repository at this point in the history
  2. fix rendered EncodeJson and DecodeJson instances

    `RoundTrip` builds successfully now:
    
    ```
    cabal test --test-options="--match \"/writePSTypesWith/should be buildable/\""
    ```
    peterbecich committed Oct 1, 2023
    Configuration menu
    Copy the full SHA
    88f1e31 View commit details
    Browse the repository at this point in the history
  3. 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.
    ```
    peterbecich committed Oct 1, 2023
    Configuration menu
    Copy the full SHA
    d1a613b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5933ef7 View commit details
    Browse the repository at this point in the history
  5. fix printing of imports with/without aliases

    import lines with and without aliases should not be merged
    peterbecich committed Oct 1, 2023
    Configuration menu
    Copy the full SHA
    a2acbbb View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2023

  1. Configuration menu
    Copy the full SHA
    c9fa2f0 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. Configuration menu
    Copy the full SHA
    5480bff View commit details
    Browse the repository at this point in the history
  2. fix dependency notice for json-helpers

    "The following purescript packages are needed by the generated code:"
    peterbecich committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    1bc3046 View commit details
    Browse the repository at this point in the history
  3. clean up example

    peterbecich committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    eadfb27 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    93e6ab7 View commit details
    Browse the repository at this point in the history
  5. 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
    peterbecich committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    47becfb View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2023

  1. fix Stack project

    peterbecich committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    c7ebbac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b5e11f View commit details
    Browse the repository at this point in the history
  3. improve example

    peterbecich committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    bce383f View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2023

  1. Configuration menu
    Copy the full SHA
    c60400c View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2023

  1. Configuration menu
    Copy the full SHA
    55e265b View commit details
    Browse the repository at this point in the history
  2. clean-up

    peterbecich committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    920c236 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. readme

    peterbecich committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    ada7742 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc87b4b View commit details
    Browse the repository at this point in the history
  3. update github action

    peterbecich committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    1e9c7d9 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. get tests passing

    peterbecich committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    2d6a6e2 View commit details
    Browse the repository at this point in the history
  2. improve readme

    peterbecich committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    3be53bf View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. improve readme, clean-up

    peterbecich committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    deed0f3 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. clean-up

    peterbecich committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    95e6034 View commit details
    Browse the repository at this point in the history
  2. nix flake update

    Replace NixPkgs `haskell-updates` branch with the default branch to simplify
    peterbecich committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    17830c1 View commit details
    Browse the repository at this point in the history
  3. changelog

    peterbecich committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    7069895 View commit details
    Browse the repository at this point in the history
  4. stylish-haskell and lint

    ```
    find . -name '*.hs' | xargs stylish-haskell -i
    ```
    peterbecich committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    7d7c1d8 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. Configuration menu
    Copy the full SHA
    de32d3f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f5008a View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. move example to new Spago

    `spago migrate`
    flip111 authored and peterbecich committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    83a204d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d56a437 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2 from peterbecich/spago-upgrade

    Spago upgrade
    peterbecich committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    5c86b32 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8536ddf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e1eee18 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8c389d1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bfb9ebe View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1 from flip111/fix-show2

    Fix show instances for unused type variables
    peterbecich committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    becf65e View commit details
    Browse the repository at this point in the history
  9. extra-source-files

    peterbecich committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    28053d1 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. github action tweak

    peterbecich committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    4439ef6 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. nix flake update

    peterbecich committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    dd3fabf View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2024

  1. Configuration menu
    Copy the full SHA
    f2e973c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72d87b7 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. Configuration menu
    Copy the full SHA
    392e7b4 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    8a04045 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2024

  1. Configuration menu
    Copy the full SHA
    1f1b74e View commit details
    Browse the repository at this point in the history
  2. provide esbuild

    peterbecich committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    d18a14d View commit details
    Browse the repository at this point in the history