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

Is there any support of composeP and pipeP? #182

Closed
GulinSS opened this issue Jun 14, 2017 · 3 comments
Closed

Is there any support of composeP and pipeP? #182

GulinSS opened this issue Jun 14, 2017 · 3 comments

Comments

@GulinSS
Copy link

GulinSS commented Jun 14, 2017

I use "@types/ramda": "0.0.11" and I see no composeP or pipeP. I would like to write point-free functions with promises. Just composeP and pipeP does it less pain.

@KiaraGrouwstra
Copy link
Member

KiaraGrouwstra commented Jun 14, 2017

Hey! We've yet to push proper typings to DefinitelyTyped; could you please try using types/npm-ramda over @types/ramda?

Edit: that said, you'll probably wanna use the pipe variants over the compose versions, as TypeScript cannot do backward inference as needed for compose (ref).

@GulinSS
Copy link
Author

GulinSS commented Jun 14, 2017

Now it looks like

"devDependencies": {
    "@types/ramda": "github:types/npm-ramda"
  }

Now all is working! Thanks for tip about pipe.

@GulinSS GulinSS closed this as completed Jun 14, 2017
@KiaraGrouwstra
Copy link
Member

No worries; glad to hear!

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

No branches or pull requests

2 participants