Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
let value = "100"
|
||||
let fromBases = [ 2; 8; 10; 16 ]
|
||||
let values = Seq.initInfinite (fun i -> value)
|
||||
Seq.zip fromBases (Seq.zip values fromBases |> Seq.map (System.Convert.ToInt32))
|
||||
|> Seq.iter (
|
||||
fun (fromBase, valueFromBaseX) ->
|
||||
printfn "%s in base %i is %i in base 10" value fromBase valueFromBaseX)
|
||||
Loading…
Add table
Add a link
Reference in a new issue