forked from ramda/ramda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove _symTransformer until official spec is worked out.
Prompted by cognitect-labs/transducers-js#20 from @tgriesser, removing the internal transformer symbol until issues are worked out. This symbol is currently only supported in jlongster/transducers.js and interoperability is questionable as (Symbol('transformer') !== Symbol('transformer')). This feature was not documented, nor do the tests depend on it, and only effects an undocumented feature of into. Better to remove it now until details are worked out. If an "official spec" is agreed upon, I will open a new PR.
- Loading branch information
1 parent
710e115
commit e4ce734
Showing
3 changed files
with
2 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
var _symTransformer = require('./_symTransformer'); | ||
|
||
|
||
module.exports = function _isTransformer(obj) { | ||
return (obj[_symTransformer] != null) || | ||
(typeof obj.step === 'function' && typeof obj.result === 'function'); | ||
return (typeof obj.step === 'function' && typeof obj.result === 'function'); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.