Open br0r opened 9 years ago
Now the syntax we use is most often (val, schema)
For this to work well with functional programming shouldn't we change it to (schema, val)?
Example:
//Old way Duns.assert(val, schema); //New way const assertWithSchema = R.curry(Duns.assert)(schema); assertWithSchema(val);
Now the syntax we use is most often (val, schema)
For this to work well with functional programming shouldn't we change it to (schema, val)?
Example: