I have done a lot of DevOps research in the past, and I agree with F#'s programming system a lot. My intuition is that there is nowhere else to go after F# in terms of refined functional coding. I’ve noticed a few straining points, however, in relation to IO methods. F# appears to be preeminent when it comes to “piping” forms eg. |> and → kind of relationships, but it would appear that conversion methods get in the way a lot, especially, if your going to use decimals instead of whole integer numeric values. Working with decimals is, evidently, a setback in all coding systems. Smooth coding should involve plenty of nonconformity methods. Here I managed to get over working with decimals when doing mathematic functions, but sending first results to be implemented again doesn’t look so convenient. The following example merely regards one numeric value to be read into another subroutine. What functional, active, or reusable coding element should I use?
let Min = 0.74625
let A = [114.546;1.3665;0.74625;83.926;13.977;1.10852;1.18148;133.098;]
A |> List.iteri (fun i x → if x = Min then
let B = sprintf “%d” (i+1)
printf “%s” B) // what does F# normally use to “pipe forward” results in “pipline fun” things like these so that a print command doesn’t have to be used in a first instance like this, but only in the final resolve?
let C = B // C can not be anything but a “pure string” or else will not read
printf “%s” C
Lets say variable A as demonstrated in Part A had been completely immutable and did not contain any static list of numeric values, objects, or elements for structered data. F# maintains a few higher order system functions that make it irrelevant to do indexing of a numeric set of data to perform additional maths. List. functionalities have diligently shown themselves to work more systematically and technically accurate than any other eg. Seq.
let List = “114.546;1.3665;0.74625;83.926;13.977;1.10852;1.18148;133.098;”
let A = [List] // what F# principles will accurately take a simple string like the one demonstrated in List as a variable defining a set of values and “build” or “format” the initial orientation of the data so that a higher order List.avg function can be used on data such as in the defined List variable above or any hailding reorderded data such as from other related F# modules?