Последовательность вычислений и Работа с системой типов
This commit is contained in:
16
Латин Ярослав/2ch.fs
Normal file
16
Латин Ярослав/2ch.fs
Normal file
@@ -0,0 +1,16 @@
|
||||
// For more information see https://aka.ms/fsharp-console-apps
|
||||
module kolok
|
||||
|
||||
let mutable x = []
|
||||
|
||||
let mutable refx = ref x
|
||||
|
||||
let _ = refx <- ref [2]
|
||||
//let _ = refx <- ref [true]
|
||||
|
||||
|
||||
printf "%O\n" refx
|
||||
printf "%A\n" refx
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user