Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jwfearn/fn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fn

Fn is a utility library for working with functions in Elixir.

It is inspired by goog.functions from the Google Closure JavaScript library.

| Fn           | goog.functions |
| ------------ | -------------- |
| _false/0     | FALSE( arg0 ) → boolean |
| _nil/0       | NULL( arg0 ) → null |
| _true/0      | TRUE( arg0 ) → boolean |
| ok/0         | *NA* |
| ok/1         | *NA* |
| error/0      | *NA* |
| error/1      | *NA* |
| _and/1       | and( ...var_args ) → function(...?): boolean |
| xxx          | cacheReturnValue<T>( fn ) → function(): T |
| compose/1    | compose<T>( fn, ...var_args ) → function(...?): T |
| rcompose/1   | *NA* |
| constant/1   | constant<T>( retValue ) → function(): T |
| *NA*         | create<T>( constructor, ...var_args ) → T |
| xxx          | debounce<SCOPE>( f, interval, opt_scope ) → function(...?): undefined |
| xxx          | equalTo( value, opt_useLooseComparison ) → function(*): boolean |
| xxx          | error( message ) → Function |
| _raise/1     | fail( err ) → Function |
| xxx          | identity<T>( opt_returnValue, ...var_args ) → T |
| xxx          | lock( f, opt_numArgs ) → Function |
| xxx          | not( f ) → function(...?): boolean |
| xxx          | nth( n ) → Function |
| xxx          | once( f ) → function(): undefined |
| _or/1        | or( ...var_args ) → function(...?): boolean |
| partial/2    | goog.partial |
| partial/3    | goog.partial |
| rpartial/2   | partialRight( fn, ...var_args ) → Function |
| rpartial/3   | goog.partial |
| xxx          | sequence( ...var_args ) → Function |
| xxx          | throttle<SCOPE>( f, interval, opt_scope ) → function(...?): undefined |
| xxx          | withReturnValue<T>( f, retValue ) → function(...?): T |
| arity/1      | - |

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages