Type OCaml
Well-typed programs cannot go wrong. - Robin Milner
  • Home
thunk, stream

alt

The Magic of Thunk - Stream_list

—  Published 09 November 2014  —

list The built-in list is a fundamental type in OCaml. We can have a list of numbers such as [1;2;3;4] or functions e.g. [fun x -…

Read Me
lazy, thunk, stream_list, async

thunk

The Magic of Thunk

—  Published 06 November 2014  —

A thunk is simply a function with the unit parameter. For example: let f() = 1 + 2 * 3;; Features It is indeed a function and s…

Read Me
Page 1 of 1