Comments (4)
Oh wow, I haven't touched this in what, years now? Could you please make a pull request for this? Also sorry for the late reply, I haven't been active on GitHub in general.
I currently don't have a development environment setup so I can't properly test, but I'd love to help. You could probably add something like
-- LuaJIT polyfill local unpack = unpack or table.unpack
to line 47, then replace calls to table.unpack
with just unpack
. IMO that'd be better than changing the table
global.
Another caveat, though, is that I don't think init.lua is automatically loaded in 5.1 if I recall correctly... Regardless, if you could test it out a bit I'd really appreciate it!
from functional.
I just saw the luarocks page and remembered: this is exactly the kind of stuff I couldn't be bothered with 2 years ago so I just said "nope, Lua 5.2 or higher". Glad to see someone cleaning up after my mess! Also just saw your issue over at teal, it's a nice feeling not only someone having found this old project of mine, and actually trying to keep it up to date. Just wanted to say I'm grateful and here if you need help.
from functional.
Forgot I need to tag you so you actually get these by email, sorry!
from functional.
Should work for 5.1 and JIT now! If it doesn't, please comment here and I'll reopen the issue. Meanwhile, I'm off to help over at creating functional.d.tl!
from functional.
Related Issues (20)
- Create take_while, take_until, skip_while and skip_until
- Rename from_iterated_call to just from HOT 3
- Create branch() method HOT 1
- Create short anonymous function notation HOT 4
- Create identity function
- Create zip function
- Create curry function HOT 1
- Create nop function
- Create :first() and :last() HOT 1
- Create :concat()
- Add examples of how to use the library with Teal typechecks
- Create :enumerate() to prepend production indices to an iterator's output
- Allow native iteration over strings
- .d.tl enhancements
- Add lambda constructor variant which autoimports globals and locals
- Add proper unit tests
- 'lambda' suggestion HOT 5
- Create flatmap function and method
- Create monad?
- Create methods for lambdas
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from functional.