add curry macro and README