Skip to content

Conversation

@jacereda
Copy link
Contributor

This is #54 relative to current master.

@paf31
Copy link
Contributor

paf31 commented Oct 1, 2017

@S11001001 @hdgarrood Does this look okay to everyone now? I assume it's been reviewed several times already 😄

Copy link
Contributor

@hdgarrood hdgarrood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some fairly significant changes to the tests that don't seem related. I'd rather not do all this together.

import Unsafe.Coerce (unsafeCoerce)

foreign import arrayFrom1UpTo :: Int -> Array Int
foreign import arrayReplicate :: forall a. Int -> a -> Array a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please leave this as it was?


import Test.Assert (ASSERT, assert, assert')
import Unsafe.Coerce (unsafeCoerce)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain the reason for this change?

minimumBy (compare `on` abs)
(map (negate <<< Int.toNumber) (arrayFrom1UpTo 10))
(map (negate <<< toNumber) (arrayFrom1UpTo 10))
== Just (-1.0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surely we're already pulling this in as a dependency?

@hdgarrood
Copy link
Contributor

Oh I see, they're from merging master. Ok then. 👍

@jacereda
Copy link
Contributor Author

jacereda commented Oct 1, 2017

The signatures aren't like that in master. Those were probably in conflict and maybe I resolved with that. I'll leave it as master but unifying eff vs e.

@garyb garyb changed the base branch from master to compiler/0.12 May 22, 2018 13:56
@garyb
Copy link
Member

garyb commented May 22, 2018

@jacereda, @S11001001 thanks for doing this, sorry it took so absurdly long to get merged!

@garyb garyb merged commit 849891c into purescript:compiler/0.12 May 22, 2018
@garyb garyb mentioned this pull request May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants