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

working with matrix #23

Closed
denisdemais opened this issue May 2, 2016 · 2 comments
Closed

working with matrix #23

denisdemais opened this issue May 2, 2016 · 2 comments

Comments

@denisdemais
Copy link

Hi. I'm new on function programming-like.

moses works fine with array, i.e.
tbl = {id=1, value=12.23};

but with i can work
tbl = {
{id=1, value=12.23},
{id=2, value=32.33
[...]
};

i have to select? or how can process/find/sort using this data movel

sugesstion: add functions to de/serialize using files

@Yonaba
Copy link
Owner

Yonaba commented May 6, 2016

Hi @denisdemais,

This issue has been closed without much explanation. Actually, can you please explain what you wanted to do ? Maybe I can provide some hints on how to use Moses to that purpose ?
Thanks.
Otherwise, I'll close back this issue.

@Yonaba Yonaba reopened this May 6, 2016
@denisdemais
Copy link
Author

@Yonaba
I'm new on functional languages.
some aspects of moses/underscores-like are poor documented or useless examples.

I was try uses underscore.lua and moses.lua and after some hours... i can uses with success.

now i can processing json (to lua) easy!
mongodb json input -> lua -> moses processing -> output ok -> that's ok!
moses help to reduce procedural code (a lot)!

thanks!

PS:
add a _.version() -> { 'moses', 'uri', '1.xx' } | 'moses 1.30 http://....'

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