Snippets created by Nobuhisa

  • Lazy variable

    When we need lazy evaluation, we use the Lazy<'T>. However, the Lazy<'T> must evaluate explicitly. This example enables implicit evaluation(call-by-need).

    6 people like this

    Posted: 12 years ago by Nobuhisa

  • The "dir" function of Python

    This snippet likes the "dir" function of Python. ( http://docs.python.org/2/library/functions.html#dir ) The "dir" function is useful on FSI. You can take a look at members of the object quickly.

    9 people like this

    Posted: 11 years ago by Nobuhisa