mirror of
https://github.com/TangentFoxy/lume.git
synced 2024-11-19 07:04:24 +00:00
Fixed spelling mistake in README.md
This commit is contained in:
parent
a234e36975
commit
425a52b99f
@ -202,7 +202,7 @@ lume.time(function(x) return x end, "hello") -- Returns 0, "hello"
|
|||||||
|
|
||||||
### lume.lambda(str)
|
### lume.lambda(str)
|
||||||
Takes a string lambda and returns a function. `str` should be a list of
|
Takes a string lambda and returns a function. `str` should be a list of
|
||||||
comma-seperated parameters, followed by `->`, followed by the expression which
|
comma-separated parameters, followed by `->`, followed by the expression which
|
||||||
will be evaluated and returned.
|
will be evaluated and returned.
|
||||||
```lua
|
```lua
|
||||||
local f = lume.lambda "x,y -> 2*x+y"
|
local f = lume.lambda "x,y -> 2*x+y"
|
||||||
|
Loading…
Reference in New Issue
Block a user