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

Question: map of maps #14

Open
vasu-dasari opened this issue Dec 14, 2020 · 1 comment
Open

Question: map of maps #14

vasu-dasari opened this issue Dec 14, 2020 · 1 comment

Comments

@vasu-dasari
Copy link

Thanks for you the nifpp project. Quite useful one.

I have a quick question on representing maps of maps. For example if I would like to return this following map to the Erlang from a nif, how could I do that?

    #{
        abc => 1,
        mln => "mln",
        pqr => #{
            a => 1,
            b => 2
        }
    }

Thanks
-Vasu

@vasu-dasari
Copy link
Author

I realized niffp might need new APIs to accomplish this. So, implemented what I thought might work in they pull-request. Let me know what you think.

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

1 participant