This website requires JavaScript.
Explore
Help
Register
Sign In
retoor
/
wren
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
b496f02746856043b1dfca780e75253845309d70
wren
/
test
/
core
/
range
/
map.wren
T
4 lines
80 B
Plaintext
Raw
Normal View
History
Unescape
Escape
feat: extract map and where into Sequence base class for List and Range
2014-02-16 17:20:31 +00:00
var a = 1..3
feat: rename Sequence.list method to toList and update all call sites
2015-04-03 18:22:34 +00:00
var b = a.map {|x| x + 1 }.toList
feat: extract map and where into Sequence base class for List and Range
2014-02-16 17:20:31 +00:00
IO.print(b) // expect: [2, 3, 4]
Reference in New Issue
Copy Permalink