These are chat archives for ramda/ramda
@hkrutzer If I understand it correctly you have w formats and function from one to other:
fromFormat1toFormat2 :: format1 -> format2 fromFormat2toFormat1 :: format2 -> format1
and you want to have
toFormat1 :: any -> format1 toFormat2 :: any -> format2
Bot don't want implement both of them. if that's the case you can write
toFormat1 and implement
toFormat2 using composition of
toFormat1 = ... toFormat2 = toFormat1 |> fromFormat1toFormat2
fromFormat1toFormat2 :: format1 -> format2and don't want to implement
fromFormat1toFormat2you cant get
fromFormat2toFormat1without implementing it.
fromFormat2toFormat1(fromFormat1toFormat2(format1)))is equivalent to
renameKeysfunction in the Ramda cookbook that might be what you're after.
which LTS? Node6 LTS is out since June or so
Node 6 goes to LTS tomorrow