paldepind / union-type

A small JavaScript library for defining and using union types.
MIT License
477 stars 28 forks source link

Support record with more than ten keys #45

Open mpal9000 opened 8 years ago

mpal9000 commented 8 years ago

Currently throws "First argument to arity must be a non-negative integer no greater than ten", because of curryN() from Ramda (group[name] = curryN(keys.length, construct);)

JAForbes commented 7 years ago

I just hit this as well, took me a long time to figure out what caused the problem.