IntersectMBO / cardano-api

Cardano API
Apache License 2.0
22 stars 20 forks source link

Use `IsList(toList,fromList)` instead of specialised functions #609

Closed carbolymer closed 1 month ago

carbolymer commented 1 month ago

Changelog

- description: |
    Use `IsList(toList,fromList)` instead of specialised functions
# uncomment types applicable to the change:
  type:
  # - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
   - refactoring    # QoL changes
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context

That's a follow-up from https://github.com/IntersectMBO/cardano-api/pull/603 , where some references to concrete collections' fromList & toList were still left in the codebase.

Checklist