Walkthrough of an RPL program for an RPN programmer
|
08-19-2018, 02:16 PM
(This post was last modified: 08-19-2018 02:16 PM by Thomas Klemm.)
Post: #6
|
|||
|
|||
RE: Walkthrough of an RPL program for an RPN programmer
(08-19-2018 01:13 PM)Albert Chan Wrote: You mean like this ? Except that the Clojure implementation provides more: Quote:(partition n coll) (partition n step coll) (partition n step pad coll) What I meant is that I wasn't aware of a built-in function similar to that in Python. Of course we can always craft something by ourselves if in need as you demonstrated. Quote:Perhaps we do not need partitioned list, map, and sum. The point of using examples in Python or Clojure was to show code similar to the RPL program. That might help someone to understand how DOSUBS works if they are familiar with either language. Cheers Thomas |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)