Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artemeff/std
Additions to the Erlang STDLIB
https://github.com/artemeff/std
Last synced: 12 days ago
JSON representation
Additions to the Erlang STDLIB
- Host: GitHub
- URL: https://github.com/artemeff/std
- Owner: artemeff
- License: mit
- Created: 2014-10-20T08:42:16.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-13T21:36:33.000Z (over 9 years ago)
- Last Synced: 2024-11-05T12:12:45.626Z (about 2 months ago)
- Language: Erlang
- Homepage:
- Size: 154 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### std [![Build Status](https://secure.travis-ci.org/artemeff/std.png)](http://travis-ci.org/artemeff/std)
---
### std
```erlang
% TODO
```### std_cache
```erlang
% TODO
```### std_cast
```erlang
% TODO
```### std_fn
```erlang
% function composition
Fn1 = std_fn:compose(
[ fun(X) -> X + 3 end
, fun(X) -> X * 4 end
, fun(X) -> X - 2 end
]),
50 = Fn1(10),
62 = Fn1(13).% partial application
Fn2 = std_fn:partial(fun lists:foldl/3,
[fun(X, Acc) -> X * Acc end, 1]),
100 = Fn2([2, 5, 10]).Fn3 = std_fn:partial(fun lists:foldl/3,
[fun(X, Acc) -> X + Acc end]),
7 = Fn2(-10, [2, 5, 10]).
```### std_pgsql
```
% TODO
```---
### Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request