Jump to content
ChrisMAN

underscore.lua

Recommended Posts

If you are using lua and not using underscore you are probably doing it wrong. It is the only sane comprehensive set of utility functions I have found. Gives you alot of nice iterators, some OO facilities, some functional programming. If you have used other languages and miss nice things this gets you closer.

 

http://mirven.github.com/underscore.lua/

 

Check it out. Hate lua less.

 

I did have a problem with the module export. I manually aliased the '_' to Underscore

 

require 'scripts/underscore'

local _ = Underscore:new()

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...