question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

R.construct not working with Set?

See original GitHub issue

The construct docs state it works as a constructor, but it fails for me for Set:

new Set([1,2,3])
// Set {1, 2, 3}
R.construct(Set)([1,2,3])
// Set {}

Am I doing it wrong?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
s-ilyacommented, Feb 9, 2017

@tycho01 don’t be so harsh on yourself. That was also super not obvious for me. Glad I came across that question 👍

0reactions
ascartabellicommented, Feb 10, 2017

@CrossEye

… if we ever manage to get to 1.0!

I know the feeling: I’m currently in the perilous and treacherous battle against some relics of the past, but if I don’t meet my Waterloo maybe I can beat you to it! My enemies are sneaky, though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Does R have a Set data structure? - Stack Overflow
An introduction to R doesn't seem to say anything besides basic data structures, and I don't know if R offers this feature as...
Read more >
15 Easy Solutions To Your Data Frame Problems In R
Discover how to create a data frame in R, change column and row names, access values, attach data frames, apply functions and much...
Read more >
An Introduction to R - The Comprehensive R Archive Network
Create a folder as the working directory, and set that in the Start In field in your R shortcut. Then launch R by...
Read more >
Part 3 Creating and re-opening an R script file
3.1 Create an R script file in your folder, then start RStudio by double-clicking that file. We typically write code in a script...
Read more >
Chapter 3 Working with tabular data in R | Introduction to R
Be aware that it exists, learn the rules, and double check that data you import in R are of the correct type within...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found