Barry Schwartz avatar Barry Schwartz committed 5ffa692

Change "parts" to "pieces", in parallel with calling the curves "piecewise".

Comments (0)

Files changed (1)

fontdesign/piecewise.pure

   private floatmod;
   floatmod a b = (q - floor q)*b when q = (double a)/b end;
 
-  type piecewise (Piecewise parts::list cyclic::int);
+  type piecewise (Piecewise pieces::list cyclic::int);
 
-  parts (Piecewise p::list _::int) = p;
+  pieces (Piecewise p::list _::int) = p;
   is_cyclic (Piecewise _::list cyclic::int) = cyclic;
   set_cyclic (Piecewise p::list _::int) cyclic = Piecewise p cyclic;
 
-  length pwise::piecewise = #(parts pwise);
+  length pwise::piecewise = #(pieces pwise);
 
   evaluate funct pwise@(Piecewise p::list cyclic::int) t
   = evaluate funct pwise (floatmod t (#p)) if cyclic && (t < 0 || #p <= t);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.