Skip to content

Commit

Permalink
docs: added code comments to ValueRange and refactored naming of valu…
Browse files Browse the repository at this point in the history
…eset params
  • Loading branch information
Casper Bollen authored and Casper Bollen committed Sep 27, 2023
1 parent a00da42 commit b2ca7af
Show file tree
Hide file tree
Showing 3 changed files with 233 additions and 22 deletions.
19 changes: 19 additions & 0 deletions src/Informedica.GenSolver.Lib/Scripts/MinMax.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,25 @@ open Informedica.Utils.Lib.BCL
open Informedica.GenSolver.Lib


[1..10]
|> List.filter (fun x -> x % 2 = 0)

module List =

let filter _ (xs: 'a list) =
printfn "hello world"


[1..10]
|> List.filter (fun x -> x % 2 = 0)


module OriginalList =

let filter = Microsoft.FSharp.Collections.List.filter

OriginalList.filter

[|3N/20N; 3N/10N; 1N/2N; 1N; 2N; 5N; 10N|]
|> Array.allPairs [|1N/10N; 1N/5N; 1N/2N; 1N; 2N; 10N/3N; 20N/3N|]
|> Array.map (fun (x1, x2) -> x1 * x2)
Expand Down
Loading

0 comments on commit b2ca7af

Please sign in to comment.