View base32.red
Red [ | |
file: %base32.red | |
date: 17-Sep-2015 | |
author: "Graham Chiu" | |
red-version: "Boleslav Březovský" | |
version: 0.0.3 | |
notes: { | |
encodes string to base32 or base32hex | |
padding to 5 characters is not required in this method | |
>> to-base32/decode/hex to-base32/hex "yessir" |
View curry.es6.js
function curry(fn, ...args) { | |
if (args.length === fn.length) { | |
return fn(...args); | |
} | |
return curry.bind(this, fn, ...args); | |
} | |
function add(a, b) { | |
return a + b; |
View Femto.js
/** | |
The MIT License | |
Copyright (c) 2010 Zohaib Sibt-e-Hassan | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |