_       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.10-pre+4 (2015-06-04 13:19 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit c8804e8* (29 days old release-0.3)
|__/                   |  x86_64-linux-gnu

julia> function a1()
       display(0.33)
       end
a1 (generic function with 1 method)

julia> u1 = Timer(u1 -> a1(),0.1)
ERROR: `Timer` has no method matching Timer(::Function, ::Float64)


while in v0.4


               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.0-dev+5702 (2015-06-30 12:53 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 8a49356* (3 days old master)
|__/                   |  x86_64-linux-gnu

julia> function a1()
       display(0.33)
       end
a1 (generic function with 1 method)

julia> u1 = Timer(u1 -> a1(),0.1)
Timer0.(33Ptr
{Void} @0x0000000000000000,Condition(Any[]),false)


but this doesn't seem to start.


Reply via email to