nri-prelude

A Prelude inspired by the Elm programming language

https://github.com/NoRedInk/haskell-libraries#readme

Version on this page:0.3.1.0
LTS Haskell 18.28:0.6.0.6
Stackage Nightly 2022-02-07:0.6.0.6
Latest on Hackage:0.6.0.6

See all snapshots nri-prelude appears in

BSD-3-Clause licensed by NoRedInk
Maintained by [email protected]
This version can be pinned in stack with:nri-prelude-0.3.1.0@sha256:0e46c13b3e4ddafe2a16fcbb920ecefa6d9e72caa0818e26f989462fbc299336,4687

NriPrelude

A Prelude inspired by the Elm programming language.

This package re-implements API’s and re-uses documentation from elm-core (license) and elm-test (license).

Changes

0.3.1.0

Enhancements:

  • Platform.summary can be used to decorate tracing spans with a text summary for use in dev tooling.
  • Platform.writeSpanToDevLog can be used to write a span for consumption by the new log-explorer tool.

0.3.0.0

Breaking changs:

  • Test.fromTestTree has been removed.
  • Fuzz.Fuzzer is now an opague type and no a synonomy for Hedgehog.Gen.
  • Expect.Task.TestFailure renamed to Expect.Task.failure.
  • Test.Runner.Tasy.main renamed to Test.run.

Enhancements:

  • Test reports now show source locations of failing tests.
  • Fuzz module has been extended and now covers almost the entire API of its Elm counterpart.
  • Dependency on tasty has been dropped.

0.2.0.0

  • Breaking change: drop Platform.TracingSpan constructor.
  • Add Platform.emptyTracingSpan export.
  • Relax version bounds to encompas tasty-1.4.

0.1.0.4

  • Relax version bounds to encompass time-1.11.

0.1.0.3

  • Fix tests to allow inclusion in stackage.

0.1.0.2

  • Relax version bounds to encompass pretty-diff-0.2.0.0 and base-4.14.0.0.

0.1.0.1

  • Relax version bounds to be compatible with bytestring-0.11.

0.1.0.0

  • Initial release.