Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
![Funcy hero image](https://img.godotassetlibrary.com/Z2gPuFjFnC27KJyyzqSsvVF-bXhyYCQVhtOGQPUw0i0/rs:fit:1920:1080:0/g:no/aHR0cHM6Ly9naXRodWIuY29tL0RyLURhbi9nb2RvdC1mdW5jeS9yYXcvbWFpbi9sb2dvLnBuZw.webp)
Quick Information
![Funcy icon image](https://img.godotassetlibrary.com/-t-xIRF19NwLAzhCg8eo_KQvxg1dTSFLNNX0hcaH9kc/rs:fit:50:50:0/g:no/aHR0cHM6Ly9naXRodWIuY29tL0RyLURhbi9nb2RvdC1mdW5jeS9yYXcvbWFpbi9sb2dvLnBuZw.webp)
Funcy
An addon to aid a functional programming style in gdscript.
Supported Engine Version
3.3
Version String
0.7.1
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL
Funcy
Written in Godot 3.2
A library to aid a functional programming style in gdscript. Provides operators that deal with lists and individual items.
Similar to ramda, underscore.js
Largely untested but good for speedy prototyping.
Usage
Quick demo
const F = Funcy
# open fields for each
F.map(F.open(['inv/weapon', 'name', 'age']))
# get only the items that pass validation
F.filter(F.all([F.gt(4), F.lteq(9)]))
# compose operators
F.comp([
# map, filter
F.map([
F.expr('_x + 3'),
F.fn(self, 'plus_xy', [2])]),
F.filter(F.gt(5))
])
eval
There are multiple ways to trigger evaluation of a query
# use query later
F.map(op)
# these have the same effect
F.map(op).eval(data)
F.map(op, data)
F.do(F.map(op), data)
Installation
Download from the Asset Store
Or place addons/Funcy in the addons folder of your project.
An addon to aid a functional programming style in gdscript.
Reviews
Quick Information
![Funcy icon image](https://img.godotassetlibrary.com/-t-xIRF19NwLAzhCg8eo_KQvxg1dTSFLNNX0hcaH9kc/rs:fit:50:50:0/g:no/aHR0cHM6Ly9naXRodWIuY29tL0RyLURhbi9nb2RvdC1mdW5jeS9yYXcvbWFpbi9sb2dvLnBuZw.webp)
Funcy
An addon to aid a functional programming style in gdscript.
Supported Engine Version
3.3
Version String
0.7.1
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL