Guest User

Untitled

a guest
Aug 25th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.25 KB | None | 0 0
  1. // Forme paresseuse
  2. let st =
  3.     let al = ref []
  4.     async{
  5.         let a = ref 1
  6.         let b = ref 0
  7.         let t = a
  8.         while true do
  9.             t := !b
  10.             b := !a + !b
  11.             a := !b
  12.             al := !b :: !al
  13.     }
Add Comment
Please, Sign In to add comment