Skip to content

Instantly share code, notes, and snippets.

View Siilwyn's full-sized avatar
🦀

Selwyn Siilwyn

🦀
View GitHub Profile
@Siilwyn
Siilwyn / gitter.js
Last active June 7, 2018 21:59 — forked from evilsoft/bigTest.txt
Fun for Selwyn
const {
Async, constant, curry,
mapReduce, maybeToAsync,
safe
} = require('crocks')
// FileAsync :: Async Error String
// access :: (String, Number) -> Async Error ()
const access =
@Siilwyn
Siilwyn / semi-code.js
Last active February 17, 2017 13:04 — forked from joepie91/.js
Transforming object comparison
/* Assuming: */
{
user: 1,
paymentMethod: 3
item: 51,
date: 1481892890, /* epoch timestamp */
payments: [{
payment: 44,
amountCents: 400,