There are a lot of ways to read information from the console, and with GUIs
having been around a long time, console I/O is not as big a deal as it
was years ago. For F#, this seems to be a good way to read integers from the command line, and then convert them from ASCII to int.

From a sequence, conversion is possible to an array or list.

Share this:

Like this:

It finally happened. With the exception of local stores, like your favorite restaurant, fabric, hardware, or your mechanic, all large companies are beginning to blur in my mind. I cannot seem to tell them apart.

Whether it is a company that produces products for the utility sector, home and automobile insurance, or specialized software for government, to me, they might as well just be one large company. Their behavior seems to be merging into a set of common behaviors.

Here are some of the telltale signs this is happening.

It is almost impossible to reach someone on the phone. Most companies have had phone menus for many years, but now, these menus seem protected with nearly impenetrable armor. You’ll be prompted with questions to get you past a checkpoint. Some of these questions could easily be used on Jeopardy.

To solve a problem, like you want some information sent by mail, you are presented with impossibilities that would give master players of the original Adventure game fits. You are told that this other department cannot send you that information, because they cannot see it.

Support personnel are reading from a script: “Well, you need to adjust the spark advance and fuel mixture.” Your car does not have settings for spark and fuel, but a 1926 Rolls Royce might.

So, I am thinking it might just be easier to have one company with a suitable name. The Three Stooges had the right idea, with Panther Brewing Company, A Panther President.

Like this:

If you create a sequence in Clojure, the sequence sticks around within the scope of its creation. That is, once a Clojure sequence is created and bound to a var, nothing special has to be done to make sure its contents stick around. This is not so with F#.

Because of a sequences’ inherent laziness, the reading in of numbers does not begin until inSeq’s length is computed. Without caching inSeq, you will have to read the integers in again if you want to iterate the sequence, unless this change is made