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

Export the Rational type constructor #3

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

Commits on Aug 6, 2016

  1. Export the Rational type constructor

    The constructor is renamed from Ration  to Rational and exported.
    (also add .gitignore)
    newlandsvalley committed Aug 6, 2016
    Configuration menu
    Copy the full SHA
    f430a7d View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2016

  1. Various alterations to original Rational

    1) Normalised 'over' when faced with negative denominators
    2) Added various (mostly logical) combinators
    3) Added some QuickCheck-style tests
    4) Reverted to hiding the constructor to enable normalisation
    newlandsvalley committed Aug 16, 2016
    Configuration menu
    Copy the full SHA
    1a5b3b4 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2016

  1. Added experimental infix multiplication functions

      r *| i
      i |* r
      r |*| r
    newlandsvalley committed Aug 17, 2016
    Configuration menu
    Copy the full SHA
    8c18de7 View commit details
    Browse the repository at this point in the history
  2. Moved Infix functions to separate package

    Also added more tests to investigate the behaviour of Rationals representing Infinity (Rational 1 0)
    newlandsvalley committed Aug 17, 2016
    Configuration menu
    Copy the full SHA
    0ec968b View commit details
    Browse the repository at this point in the history
  3. Fleshed out infix ops proposal

    The idea is that the conventional comparison and arithmetic operands are used but whenever a Rational is at a given side of the operator, then the operator is 'protected' by a '|' character.  This both avoids clashes with Basics operators and also gives a method of predicting what the operator is with either one or two Rationals in a given context.
    newlandsvalley committed Aug 17, 2016
    Configuration menu
    Copy the full SHA
    5c7380b View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2016

  1. Added a variety of infix operators

    Also a naive implementation of the expected Expect.almostEqual function for comparing Floats in QuickCheck style tests.
    newlandsvalley committed Aug 27, 2016
    Configuration menu
    Copy the full SHA
    eace746 View commit details
    Browse the repository at this point in the history
  2. Typo in README

    newlandsvalley committed Aug 27, 2016
    Configuration menu
    Copy the full SHA
    af2d678 View commit details
    Browse the repository at this point in the history
  3. Another README typo

    newlandsvalley committed Aug 27, 2016
    Configuration menu
    Copy the full SHA
    cc975d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d42cba5 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2016

  1. Configuration menu
    Copy the full SHA
    cada6e1 View commit details
    Browse the repository at this point in the history
  2. Added compare

    newlandsvalley committed Aug 28, 2016
    Configuration menu
    Copy the full SHA
    199136a View commit details
    Browse the repository at this point in the history
  3. Incorporated nearlyEqual from @mgold

    This is a rough prototype of a possible future function for testing near-quality in numbers (particularly floats).
    newlandsvalley committed Aug 28, 2016
    Configuration menu
    Copy the full SHA
    939b1be View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2016

  1. Experimented with custom-shrunk Fuzzers

    (unsuccessfully)
    newlandsvalley committed Sep 2, 2016
    Configuration menu
    Copy the full SHA
    ffd4daf View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2016

  1. Upgraded to latest elm-test

    (2.1.0)
    newlandsvalley committed Sep 6, 2016
    Configuration menu
    Copy the full SHA
    ac21861 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2016

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

Commits on Nov 11, 2016

  1. Upgrade to elm 0.18

    newlandsvalley committed Nov 11, 2016
    Configuration menu
    Copy the full SHA
    8bc86f9 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2016

  1. revert test-runner package to 3.0.0

    (rtfeldman had corrected it)
    newlandsvalley committed Nov 21, 2016
    Configuration menu
    Copy the full SHA
    8c63e44 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2016

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

Commits on Dec 3, 2016

  1. Deprecate in favour of elm-community/ratio

    (This project now moved to elm-community)
    newlandsvalley committed Dec 3, 2016
    Configuration menu
    Copy the full SHA
    9c6bb87 View commit details
    Browse the repository at this point in the history