You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started work on the maths functions listed in #127 but have encountered some really strange behaviour. The very act of including $.FiniteNumber in $.env causes a bunch of tests to fail. They all involve functions that have a dependency on type classes in their definition. Here are some of the errors:
TypeError: ‘Either#concat’ requires ‘a’ to implement Semigroup; Number and Integer and FiniteNumber do not
TypeError: ‘xor’ requires ‘a’ to implement Alternative and Monoid; (Either ??? Number) and (Either ??? Integer) and (Either ??? FiniteNumber) do not
TypeError: ‘xor’ requires ‘a’ to implement Alternative and Monoid; Number and Integer and FiniteNumber do not
Etc...
I'm guessing there's something going on with the definition of Sanctuary's Semigroup and Alternative types and is related to sanctuary-js/sanctuary-def/pull/16
The text was updated successfully, but these errors were encountered:
svozza
changed the title
Can't Add Custom Types To Env
Can't Add Additional sanctuary-def Types To Env
Jan 26, 2016
I started work on the maths functions listed in #127 but have encountered some really strange behaviour. The very act of including
$.FiniteNumber
in$.env
causes a bunch of tests to fail. They all involve functions that have a dependency on type classes in their definition. Here are some of the errors:Etc...
I'm guessing there's something going on with the definition of Sanctuary's
Semigroup
andAlternative
types and is related to sanctuary-js/sanctuary-def/pull/16The text was updated successfully, but these errors were encountered: