Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zachallaun/functionalutils.jl
Functional Julia – based on fogus/lemonad
https://github.com/zachallaun/functionalutils.jl
Last synced: 3 days ago
JSON representation
Functional Julia – based on fogus/lemonad
- Host: GitHub
- URL: https://github.com/zachallaun/functionalutils.jl
- Owner: zachallaun
- Created: 2013-04-30T18:55:55.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-07T17:02:12.000Z (over 11 years ago)
- Last Synced: 2024-10-11T19:20:04.198Z (27 days ago)
- Language: Julia
- Size: 60.5 KB
- Stars: 23
- Watchers: 3
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Functional Julia
Useful functions for functional programming in Julia. Based heavily on
[fogus/lemonad](https://github.com/fogus/lemonad). I make no claims that
all of these are Good Ideas. Some (or many) may be removed.See the
[tests](https://github.com/zachallaun/FunctionalUtils.jl/blob/master/test/FunctionalUtilsTest.jl)
for examples.Current exports:
```.jl
export # Basic functions
partial,
rpartial,
not,
complement,
inc,
dec,
halve,
explode,
implode,
truthy,
falsey,
ispos,
isneg,
iszero,# Sequence operations
cons,
construct,
rest,
butlast,
drop,
takewhile,
dropwhile,
partition,
partitionall,
mapcat,
interpose,
mapkeys,
mapvals,
interleave,
repeat,
repeatedly,
cycle,
splitat,# Combinators
constantly,
always,
pipeline,
comp,
everypred,
somepred,
splat,
unsplat,# Applicative functions
update,
remove,
accessor,
first,
second,
third,
juxt,
iterate,
iterateuntil,
reductions,# HOFs
best,
fnothing,
curry2,
curry3,
curry4,
gt,
gte,
lt,
lte,
eq,
trampoline,
Continue,
@jump
```